From: Keir Fraser Subject: Re: resume of HVM guest without PV drivers Date: Fri, 07 Aug 2009 13:16:10 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: James Harper , Jan Beulich Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 07/08/2009 12:34, "James Harper" wrote: >> Indeed. However, the fixup handler in this case can be trivial - it > just >> needs to restart the whole operation (including the > have-I-been-resumed >> check). >> > > What if it happens this way: > if (just_been_resumed) > restore_hypercall_page(); > /* suspend/resume happens here */ > do_hypercall(...); > > suddenly do_hypercall() jumps into empty space. Why would it jump into empty space? I'll jump into a stale stub is all. -- Keir