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

Re: [Xen-devel] how to keep time of windows pvhvm synchronized with host after resuming





On 2010-9-24 23:18, Tim Deegan wrote:

No, that's fine.  wc_secs is what you add to NOW() to get wallclock to
it shouldn't change, or at least very rarely.  I thought from your
earlier email that it was always zero, which would be odd.

Thanks for your confirmation.
 I thought wc_secs is a changeable value, so i am wrong.
The NOW() is calling get_s_time() here, which has problem with RDTSC you mentioned. So the next step is to get system time through hypercall HVMOP_get_time, and then add wc_secs
to get wallclock.
Is it the patch you mentioned in http://lists.xensource.com/archives/html/xen-devel/2010-07/msg00477.html ?
I will add this patch and get the wallclock time then.


And is that equal to zero?  If not, what exactly is the problem?  I
think I've got confused about what's going wrong.

Yes, I got zero value for wc_secs several days ago. But it became non-zero after i rebooted dom0, and i failed to reproduce the issue now. I assumed wc_secs should change regularly.
Sorry for my misunderstanding.

Thanks
Annie

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


 


Rackspace

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