]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Sync efer back into nested vmcb
authorJoerg Roedel <joerg.roedel@amd.com>
Tue, 27 Jul 2010 16:14:20 +0000 (18:14 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:03 +0000 (10:50 +0200)
commit53a501af74841b13830e79fdb9352140e34d3bea
treee7dbbef3b591eb7edc502ae7af68403b4bd13063
parenta0a616b043f20187a9f379fa1abdd02196a5633b
KVM: SVM: Sync efer back into nested vmcb

This patch fixes a bug in a nested hypervisor that heavily
switches between real-mode and long-mode. The problem is
fixed by syncing back efer into the guest vmcb on emulated
vmexit.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/svm.c