summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2010-05-05 16:04:44 +0200
committerAvi Kivity <avi@redhat.com>2010-08-01 10:35:38 +0300
commiteec4b140c924b4c650e9a89e01d223266490e325 (patch)
tree9af6ed57f7a62da94ffdd4b29473d9cb093a93d7 /arch/x86/kvm/svm.c
parent3f10c846f8f9e6a32bbfeefaf7dda7ff51c7da29 (diff)
downloadop-kernel-dev-eec4b140c924b4c650e9a89e01d223266490e325.zip
op-kernel-dev-eec4b140c924b4c650e9a89e01d223266490e325.tar.gz
KVM: SVM: Allow EFER.LMSLE to be set with nested svm
This patch enables setting of efer bit 13 which is allowed in all SVM capable processors. This is necessary for the SLES11 version of Xen 4.0 to boot with nested svm. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r--arch/x86/kvm/svm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 685cfff..41fe038 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -640,7 +640,7 @@ static __init int svm_hardware_setup(void)
if (nested) {
printk(KERN_INFO "kvm: Nested Virtualization enabled\n");
- kvm_enable_efer_bits(EFER_SVME);
+ kvm_enable_efer_bits(EFER_SVME | EFER_LMSLE);
}
for_each_possible_cpu(cpu) {
OpenPOWER on IntegriCloud