]> xenbits.xensource.com Git - xen.git/commitdiff
x86/tsc: remove misleading printk on HVM restore path.
authorKeir Fraser <keir@xen.org>
Tue, 25 Jan 2011 14:54:42 +0000 (14:54 +0000)
committerKeir Fraser <keir@xen.org>
Tue, 25 Jan 2011 14:54:42 +0000 (14:54 +0000)
This warning no longer corresponds to what the code actually does.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   22800:c50ae9d5dda4
xen-unstable date:        Tue Jan 25 14:05:25 2011 +0000

xen/arch/x86/hvm/save.c

index bc1b51647c03523df9793790fc4ac6834122f8b3..f7b3b36e2303d879a04de801cacf0633d99fc9ae 100644 (file)
@@ -65,12 +65,7 @@ int arch_hvm_load(struct domain *d, struct hvm_save_header *hdr)
     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;