Skip to contentSkip to conversation

Return if the pdptrs are invalid when the guest turns on PAE.

PATCH New Rusty Russell 1 participant 1 message Jul 23, 2007 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Return if the pdptrs are invalid when the guest turns on PAE.

Don't fall through and turn on PAE in this case.

drivers/kvm/kvm_main.c +1 -0
diff -r f75b0a5fc387 drivers/kvm/kvm_main.c
@@ -548,6 +548,7 @@ void set_cr4(struct kvm_vcpu *vcpu, unsi
 		   && !load_pdptrs(vcpu, vcpu->cr3)) {
 		printk(KERN_DEBUG "set_cr4: #GP, pdptrs reserved bits\n");
 		inject_gp(vcpu);
+		return;
 	}
 
 	if (cr4 & X86_CR4_VMXE) {

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/