From: "Jan Beulich" Subject: Re: resume of HVM guest without PV drivers Date: Fri, 07 Aug 2009 12:23:02 +0100 Message-ID: <4A7C2AB6020000780000EA9E@vpn.id2.novell.com> References: <4A7C1FAC020000780000EA4F@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org >>> Keir Fraser 07.08.09 12:53 >>> >On 07/08/2009 11:35, "Jan Beulich" wrote: > >> Besides that, doing hypercalls here also requires that I'll be able to = re- >> setup the hypercall (or the hypercall page) in case I got migrated >> between VMX and SVM. While this could certainly be done in a fixup >> handler invoked from #UD (a little tricky for the hypercall page case), = I >> find it preferable to synchronously fix things up beforehand. > >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). Jan