KVM: nVMX: Implement support for EFER saving on VM-exit
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 8 Aug 2013 14:26:31 +0000 (16:26 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 24 Sep 2013 17:12:14 +0000 (19:12 +0200)
commit10ba54a58949e222dcb9cd9fb64cd3e7f53fc6b1
tree148fe3f6f60fc2878e043dc1c061ea769eb653e0
parent59ab5a8f4445699e238c4c46b3da63bb9dc02897
KVM: nVMX: Implement support for EFER saving on VM-exit

Implement and advertise VM_EXIT_SAVE_IA32_EFER. L0 traps EFER writes
unconditionally, so we always find the current L2 value in the
architectural state.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c