]> 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)
commitfa5163a3da32abf38bb7562ca8a130e088e161f7
tree4c95039117dd9b8ed18259b17947b6d958e1397b
parent38e281ca9c4f7fa62a4e4d6dd5bc3075cf017eef
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