]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: x86: save/load state on SMM switch
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 May 2015 09:50:23 +0000 (11:50 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Jun 2015 14:17:46 +0000 (16:17 +0200)
commit660a5d517aaab9187f93854425c4c63f4a09195c
treec905809e6da8c3bb2896c7ea2dd12d9f206ab4e0
parentcd7764fe9f73530b20a0f2310fa753af635fabb3
KVM: x86: save/load state on SMM switch

The big ugly one.  This patch adds support for switching in and out of
system management mode, respectively upon receiving KVM_REQ_SMI and upon
executing a RSM instruction.  Both 32- and 64-bit formats are supported
for the SMM state save area.

Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/cpuid.h
arch/x86/kvm/emulate.c
arch/x86/kvm/trace.h
arch/x86/kvm/x86.c