From bb0300dc57c10b3721451b0ff566a03f9276cc77 Mon Sep 17 00:00:00 2001 From: Gleb Natapov Date: Wed, 13 Jan 2010 15:25:06 +0200 Subject: 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 Signed-off-by: Anthony Liguori --- target-i386/cpu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'target-i386/cpu.h') diff --git a/target-i386/cpu.h b/target-i386/cpu.h index f3834b307..216b00e50 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; -- cgit v1.2.3-65-gdbad