Message ID | 201006131224.o5DCObeq012904@rice.haifa.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
--- .before/arch/x86/kvm/x86.c 2010-06-13 15:01:28.000000000 +0300 +++ .after/arch/x86/kvm/x86.c 2010-06-13 15:01:28.000000000 +0300 @@ -501,7 +501,7 @@ int __kvm_set_cr4(struct kvm_vcpu *vcpu, && !load_pdptrs(vcpu, vcpu->arch.cr3)) return 1; - if (cr4 & X86_CR4_VMXE) + if (cr4 & X86_CR4_VMXE && !nested) return 1; kvm_x86_ops->set_cr4(vcpu, cr4);