diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2014-01-04 12:47:22 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-01-17 04:22:16 -0500 |
commit | cae501397a25dc1e88375925c5e93a264d4a55ba (patch) | |
tree | 9baa938d4cbd923f8e5b230002068ec5d5a18ede /arch/x86/include | |
parent | 542060ea79c861e100411a5a44df747b56a693df (diff) |
KVM: nVMX: Clean up handling of VMX-related MSRs
This simplifies the code and also stops issuing warning about writing to
unhandled MSRs when VMX is disabled or the Feature Control MSR is
locked - we do handle them all according to the spec.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/uapi/asm/msr-index.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/uapi/asm/msr-index.h b/arch/x86/include/uapi/asm/msr-index.h index 37813b5ddc37..2e4a42d31cfe 100644 --- a/arch/x86/include/uapi/asm/msr-index.h +++ b/arch/x86/include/uapi/asm/msr-index.h | |||
@@ -527,6 +527,7 @@ | |||
527 | #define MSR_IA32_VMX_TRUE_PROCBASED_CTLS 0x0000048e | 527 | #define MSR_IA32_VMX_TRUE_PROCBASED_CTLS 0x0000048e |
528 | #define MSR_IA32_VMX_TRUE_EXIT_CTLS 0x0000048f | 528 | #define MSR_IA32_VMX_TRUE_EXIT_CTLS 0x0000048f |
529 | #define MSR_IA32_VMX_TRUE_ENTRY_CTLS 0x00000490 | 529 | #define MSR_IA32_VMX_TRUE_ENTRY_CTLS 0x00000490 |
530 | #define MSR_IA32_VMX_VMFUNC 0x00000491 | ||
530 | 531 | ||
531 | /* VMX_BASIC bits and bitmasks */ | 532 | /* VMX_BASIC bits and bitmasks */ |
532 | #define VMX_BASIC_VMCS_SIZE_SHIFT 32 | 533 | #define VMX_BASIC_VMCS_SIZE_SHIFT 32 |