This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[PATCH] Re: [Xen-devel] expects freq 1800MHz but host's freq is 1800MHz:

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>
Subject: [PATCH] Re: [Xen-devel] expects freq 1800MHz but host's freq is 1800MHz: trap and emulate rdtsc
From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Date: Mon, 24 Jan 2011 10:30:03 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 24 Jan 2011 02:30:58 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01BB91CA@trantor>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AEC6C66638C05B468B556EA548C1A77D01BB91CA@trantor>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
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@xxxxxxxxxx>

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

<Prev in Thread] Current Thread [Next in Thread>