|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] how to keep time of windows pvhvm synchronized with	host
 
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
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- RE: [Xen-devel] how to keep time of windows pvhvm synchronized with	host after resuming, (continued)
- RE: [Xen-devel] how to keep time of windows pvhvm synchronized with	host after resuming, Paul Durrant
- Re: [Xen-devel] how to keep time of windows pvhvm synchronized	with host after resuming, Tim Deegan
- Re: [Xen-devel] how to keep time of windows pvhvm synchronized with	host after resuming, ANNIE LI
 
- Re: [Xen-devel] how to keep time of windows pvhvm synchronized with	host after resuming, ANNIE LI
 - Re: [Xen-devel] how to keep time of windows pvhvm synchronized	with host after resuming, Tim Deegan
 - Re: [Xen-devel] how to keep time of windows pvhvm synchronized with	host after resuming, ANNIE LI
 
- Re: [Xen-devel] how to keep time of windows pvhvm synchronized with	host after resuming, ANNIE LI
 - Re: [Xen-devel] how to keep time of windows pvhvm synchronized	with host after resuming, Tim Deegan
 - Re: [Xen-devel] how to keep time of windows pvhvm synchronized with	host after resuming, ANNIE LI
 - Re: [Xen-devel] how to keep time of windows pvhvm synchronized	with host after resuming, Tim Deegan
 - Re: [Xen-devel] how to keep time of windows pvhvm synchronized with	host after resuming,
ANNIE LI <=
 - Re: [Xen-devel] how to keep time of windows pvhvm synchronized with	host after resuming, ANNIE LI
 - Re: [Xen-devel] how to keep time of windows pvhvm synchronized	with host after resuming, Tim Deegan
 - Re: [Xen-devel] how to keep time of windows pvhvm synchronized with	host after resuming, ANNIE LI
 - Re: [Xen-devel] how to keep time of windows pvhvm synchronized	with host after resuming, Tim Deegan
 
  
  
  
 
 |  
  
 | 
    | 
  
  
    |   | 
    |