]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target/i386/cpu.h
KVM: x86: Add support for save/load MSR_SMI_COUNT
[mirror_qemu.git] / target / i386 / cpu.h
index f91e37d25deaeb90d31fc1bfa15bc64195a39b58..254e557bb8fa9190082e9db48f842c597ea63cdb 100644 (file)
@@ -1,3 +1,4 @@
+
 /*
  * i386 virtual CPU header
  *
 
 #define CPUArchState struct CPUX86State
 
-#ifdef CONFIG_TCG
-#include "fpu/softfloat.h"
-#endif
-
 enum {
     R_EAX = 0,
     R_ECX = 1,
@@ -363,6 +360,7 @@ typedef enum X86Seg {
 #define MSR_P6_PERFCTR0                 0xc1
 
 #define MSR_IA32_SMBASE                 0x9e
+#define MSR_SMI_COUNT                   0x34
 #define MSR_MTRRcap                     0xfe
 #define MSR_MTRRcap_VCNT                8
 #define MSR_MTRRcap_FIXRANGE_SUPPORT    (1 << 8)
@@ -1127,6 +1125,7 @@ typedef struct CPUX86State {
 
     uint64_t pat;
     uint32_t smbase;
+    uint64_t msr_smi_count;
 
     uint32_t pkru;