commit | 384bb783275145b70d769acf4c687957d1c61802 | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@web.de> | Sat Apr 20 10:52:36 2013 +0200 |
committer | Gleb Natapov <gleb@redhat.com> | Mon Apr 22 12:53:42 2013 +0300 |
tree | 8db3286f89b5a1cf38ba2e3231b94c822b229199 | |
parent | ea8ceb8354e1c84a13cf2a8e915dc74f96759393 [diff] |
KVM: nVMX: Validate EFER values for VM_ENTRY/EXIT_LOAD_IA32_EFER As we may emulate the loading of EFER on VM-entry and VM-exit, implement the checks that VMX performs on the guest and host values on vmlaunch/ vmresume. Factor out kvm_valid_efer for this purpose which checks for set reserved bits. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>