[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xen: fix initialization of wallclock time for PVHVM on migration



On 06/11/2013 12:59 PM, Jan Beulich wrote:
On 11.06.13 at 12:46, Roger Pau Monne <roger.pau@xxxxxxxxxx> wrote:
The initial values of the wallclock time in the shared info page are
set for PVHVM guests when the hypercall page is initialized, since the
hypercall page is not reinitialized on resume, the hypervisor
wallclock time is not properly set on resume.

Fix it by forcing an update of the wallclock values when the shared
info page is mapped.

NACK - this is a guest side bug. After migration, a guest _has_ to
re-init the hypercall page, as it may have got migrated between
a VMX and an SVM machine, and the hypercall instructions are
different between them.

Does migrating from VMX to SVM actually work?

In any case, if Linux does it, then FreeBSD should do it too. (I assume this came up because you're working on the FreeBSD PVHVM port?)

 -George


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.