summaryrefslogtreecommitdiff
path: root/target-i386/cpu.h
diff options
context:
space:
mode:
authorLiu, Jinsong <jinsong.liu@intel.com>2012-07-03 02:35:10 +0800
committerMarcelo Tosatti <mtosatti@redhat.com>2012-07-03 17:36:32 -0300
commita75b3e0f641a68b7cdd4bbe4ed1b60f963bf2b62 (patch)
tree289b00093dcd217b82b37b93aa47a83bd80ba657 /target-i386/cpu.h
parentbfee7546df51c08e395dc8a7676a5c7f20186fee (diff)
downloadqemu-a75b3e0f641a68b7cdd4bbe4ed1b60f963bf2b62.tar.gz
qemu-a75b3e0f641a68b7cdd4bbe4ed1b60f963bf2b62.tar.bz2
qemu-a75b3e0f641a68b7cdd4bbe4ed1b60f963bf2b62.zip
kvm: expose tsc deadline timer feature to guest
This patch exposes tsc deadline timer feature to guest if 1). in-kernel irqchip is used, and 2). kvm has emulated tsc deadline timer, and 3). user authorize the feature exposing via -cpu or +/- tsc-deadline Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Acked-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'target-i386/cpu.h')
-rw-r--r--target-i386/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index f257c972fb..33d221eae4 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -400,6 +400,7 @@
#define CPUID_EXT_X2APIC (1 << 21)
#define CPUID_EXT_MOVBE (1 << 22)
#define CPUID_EXT_POPCNT (1 << 23)
+#define CPUID_EXT_TSC_DEADLINE_TIMER (1 << 24)
#define CPUID_EXT_XSAVE (1 << 26)
#define CPUID_EXT_OSXSAVE (1 << 27)
#define CPUID_EXT_HYPERVISOR (1 << 31)