James Harper
2011-Jan-22 05:28 UTC
[Xen-devel] expects freq 1800MHz but host''s freq is 1800MHz: trap and emulate rdtsc
When I restore a DomU I get: (XEN) save.c:72:d0 Domain 510 expects freq 1800MHz but host''s freq is 1800MHz: trap and emulate rdtsc I''m using an earlier 4.0.2 rc but I can''t see any changes to save.c since then. Is this a problem? Thanks James _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Tim Deegan
2011-Jan-24 10:30 UTC
[PATCH] Re: [Xen-devel] expects freq 1800MHz but host''s freq is 1800MHz: trap and emulate rdtsc
x86/tsc: remove misleading printk on HVM restore path. This warning no longer corresponds to what the code actually does. Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com> diff -r b02dd0b47140 xen/arch/x86/hvm/save.c --- a/xen/arch/x86/hvm/save.c Thu Jan 20 11:13:07 2011 +0000 +++ b/xen/arch/x86/hvm/save.c Mon Jan 24 10:25:32 2011 +0000 @@ -65,12 +65,7 @@ int arch_hvm_load(struct domain *d, stru if ( hdr->gtsc_khz ) d->arch.tsc_khz = hdr->gtsc_khz; if ( d->arch.vtsc ) - { hvm_set_rdtsc_exiting(d, 1); - gdprintk(XENLOG_WARNING, "Domain %d expects freq %uMHz " - "but host''s freq is %luMHz: trap and emulate rdtsc\n", - d->domain_id, hdr->gtsc_khz / 1000, cpu_khz / 1000); - } /* VGA state is not saved/restored, so we nobble the cache. */ d->arch.hvm_domain.stdvga.cache = 0; _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel