From bfd6b0dc77cbe2c19f748a7368b83d6f73abd57a Mon Sep 17 00:00:00 2001 From: PJ Tsao Date: Tue, 27 Aug 2019 11:18:35 +0800 Subject: [PATCH] Remove backup side warning message --- target-i386/kvm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target-i386/kvm.c b/target-i386/kvm.c index f62264a7..695c45e7 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -613,10 +613,12 @@ static int kvm_arch_set_tsc_khz(CPUState *cs) kvm_vcpu_ioctl(cs, KVM_GET_TSC_KHZ) : -ENOTSUP; if (cur_freq <= 0 || cur_freq != env->tsc_khz) { + #if 0 error_report("warning: TSC frequency mismatch between " "VM (%" PRId64 " kHz) and host (%d kHz), " "and TSC scaling unavailable", env->tsc_khz, cur_freq); + #endif return r; } }