diff options
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 2998efe89278..29e4157732db 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h | |||
@@ -259,6 +259,7 @@ struct kvm_vcpu_arch { | |||
259 | unsigned long cr3; | 259 | unsigned long cr3; |
260 | unsigned long cr4; | 260 | unsigned long cr4; |
261 | unsigned long cr8; | 261 | unsigned long cr8; |
262 | u32 hflags; | ||
262 | u64 pdptrs[4]; /* pae */ | 263 | u64 pdptrs[4]; /* pae */ |
263 | u64 shadow_efer; | 264 | u64 shadow_efer; |
264 | u64 apic_base; | 265 | u64 apic_base; |
@@ -738,6 +739,8 @@ enum { | |||
738 | TASK_SWITCH_GATE = 3, | 739 | TASK_SWITCH_GATE = 3, |
739 | }; | 740 | }; |
740 | 741 | ||
742 | #define HF_GIF_MASK (1 << 0) | ||
743 | |||
741 | /* | 744 | /* |
742 | * Hardware virtualization extension instructions may fault if a | 745 | * Hardware virtualization extension instructions may fault if a |
743 | * reboot turns off virtualization while processes are running. | 746 | * reboot turns off virtualization while processes are running. |