WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: 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 12:32:29 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 07 Aug 2009 04:32:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A7C2AB6020000780000EA9E@xxxxxxxxxxxxxxxxxx>
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: AcoXUW3jfSvJya1YSv6+wi1LvMDCEQAAVD19
Thread-topic: [Xen-devel] resume of HVM guest without PV drivers
User-agent: Microsoft-Entourage/12.20.0.090605
On 07/08/2009 12:23, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:

>> Won't you always have a race between checking for migration and then
>> entering the cpu-specific hypercall stub?
> 
> 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).

Mmm fair enough, if you're prepared to make your own VMCALL/VMMCALL stubs
(which seems safe enough) that you know how to unroll from then that could
work.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel