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

Re: [Xen-devel] TSC trouble in hvm linux, after host S3

>>> On 20.11.13 at 12:41, Tomasz Wroblewski <tomasz.wroblewski@xxxxxxxxxx> 
>>> wrote:
> I've since found out that VMCS seems to provide tsc offsetting capabilities; 
> adding something like
>          for_each_vcpu ( d, v )
>          {
>              if (v->vcpu_id == 0)
>                  hvm_set_guest_tsc(v, 0);
>          }
> inside hvm_s3_resume (xen/arch/x86/hvm/hvm.c) fixed this for me; any comment 
> on such a solution?

This sounds plausible, but I'd prefer it to be done alongside the other
state resetting done for S3 (which all happen in hvm_s3_suspend()).
Unless that doesn't work, of course.


Xen-devel mailing list



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