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

Re: [Xen-devel] GPLPV questions



> 
> Thanks for the reply.
> I don't know if is virtual or hardware clock to resync.
> When I do save/restore of windows domUs (with gplpv) inside domain on
> restore the domain users are unable to login until windows time will be
> updated.
> I also enabled ntp and tried to set very low time between every ntp
> check but however, it takes a long time to synchronize.
> I did a fast search on citrix pv and probably the time update is here:
> https://github.com/xenserver/win-
> xeniface/blob/master/src/win32stubagent/XService.cpp
> on finishSuspend function, there is this comment: /* We need to resync
> the clock when we recover from suspend/resume. */

Looks like citrix pv usermode code makes a WMI call into the driver to get the 
time from xen, and then sets the time back in the usermode code.

Not as straightforward as I might have thought. I don't have a WMI interface 
but any mechanism of talking to the driver is fine. From a quick look I can't 
see how the driver gets the clock from Xen though.

James

_______________________________________________
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®.