aboutsummaryrefslogtreecommitdiff
path: root/target-i386/cpu.h
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2010-01-13 15:25:06 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-01-13 17:14:16 -0600
commitbb0300dc57c10b3721451b0ff566a03f9276cc77 (patch)
tree9f9f59b498ee5d5361e72f618f95169323a06d4f /target-i386/cpu.h
parent4277906d281e7fd04817782777b90f6d122f4443 (diff)
downloadqemu-bb0300dc57c10b3721451b0ff566a03f9276cc77.zip
qemu-bb0300dc57c10b3721451b0ff566a03f9276cc77.tar.gz
qemu-bb0300dc57c10b3721451b0ff566a03f9276cc77.tar.bz2
Add KVM paravirt cpuid leaf
Initialize KVM paravirt cpuid leaf and allow user to control guest visible PV features through -cpu flag. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-i386/cpu.h')
-rw-r--r--target-i386/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index f3834b3..216b00e 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -701,7 +701,8 @@ typedef struct CPUX86State {
uint8_t nmi_pending;
uint8_t has_error_code;
uint32_t sipi_vector;
-
+ uint32_t cpuid_kvm_features;
+
/* in order to simplify APIC support, we leave this pointer to the
user */
struct APICState *apic_state;