]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/svm.c
KVM: SVM: remove unnecessary is_nested check from svm_cpu_run
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 7 Aug 2009 09:49:45 +0000 (11:49 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 07:46:34 +0000 (10:46 +0300)
commitcda0ffdd862d36d0b054249ce920f00d1dbae037
tree5478bfd6795a3e1faeb028f86ef4fcb9e1fac121
parent410e4d573d9b7fbd134f9a47815b6ad517492a08
KVM: SVM: remove unnecessary is_nested check from svm_cpu_run

This check is not necessary. We have to sync the vcpu->arch.cr2 always
back to the VMCB. This patch remove the is_nested check.

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