This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] resume of HVM guest without PV drivers

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] resume of HVM guest without PV drivers
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 07 Aug 2009 13:16:10 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 07 Aug 2009 05:16:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D016DE139@trantor>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcoXUY5ocDFoNq9eQGiHo5ZFlqLptgAAN7qgAAGa8N0=
Thread-topic: [Xen-devel] resume of HVM guest without PV drivers
User-agent: Microsoft-Entourage/
On 07/08/2009 12:34, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> 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

Xen-devel mailing list