]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/svm.c
KVM: SVM: handle errors in vmrun emulation path appropriatly
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 7 Aug 2009 09:49:43 +0000 (11:49 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 07:46:32 +0000 (10:46 +0300)
commit1f8da47805072e89454ccfdada553c2afc4dfb79
tree916742666153e0279d3286b98447cd75cb9d7771
parentea8e064fe22a132da1473d82a57751208e6b8bfd
KVM: SVM: handle errors in vmrun emulation path appropriatly

If nested svm fails to load the msrpm the vmrun succeeds with the old
msrpm which is not correct. This patch changes the logic to roll back
to host mode in case the msrpm cannot be loaded.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c