Comment # 12 on bug 1023358 from
I found that the following patch also helps work around the issue.
It seems that qemu says guest that it support tsc_deadline when it is not
supported in reality. See patch defcf51fa93929bd5d3ce5b91f8e6a106dae5e46, it
always say 'yes'.

diff --git a/target-i386/kvm.c b/target-i386/kvm.c
index 41d09e5..8a56272 100644
--- a/target-i386/kvm.c
+++ b/target-i386/kvm.c
@@ -217,14 +217,6 @@ uint32_t kvm_arch_get_supported_cpuid(KVMState *s,
uint32_t function,
          * GET_SUPPORTED_CPUID
          */
         ret |= CPUID_EXT_HYPERVISOR;
-        /* tsc-deadline flag is not returned by GET_SUPPORTED_CPUID, but it
-         * can be enabled if the kernel has KVM_CAP_TSC_DEADLINE_TIMER,
-         * and the irqchip is in the kernel.
-         */
-        if (kvm_irqchip_in_kernel() &&
-                kvm_check_extension(s, KVM_CAP_TSC_DEADLINE_TIMER)) {
-            ret |= CPUID_EXT_TSC_DEADLINE_TIMER;
-        }

         /* x2apic is reported by GET_SUPPORTED_CPUID, but it can't be enabled
          * without the in-kernel irqchip


You are receiving this mail because: