]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Fix constant value of VM_{EXIT_SAVE,ENTRY_LOAD}_DEBUG_CONTROLS
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 12 Jun 2014 17:40:32 +0000 (19:40 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 19 Jun 2014 10:52:11 +0000 (12:52 +0200)
commit3e8bc2bb35ae43ceea2c94ea9ceb094d3a4412ca
tree4c95039117dd9b8ed18259b17947b6d958e1397b
parentc5cabbc8b78522c1b4d28380a0c9b1ef2f18a01f
KVM: x86: Fix constant value of VM_{EXIT_SAVE,ENTRY_LOAD}_DEBUG_CONTROLS

The spec says those controls are at bit position 2 - makes 4 as value.

The impact of this mistake is effectively zero as we only use them to
ensure that these features are set at position 2 (or, previously, 1) in
MSR_IA32_VMX_{EXIT,ENTRY}_CTLS - which is and will be always true
according to the spec.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/vmx.h