All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Return if the pdptrs are invalid when the guest turns on PAE.
@ 2007-07-23  7:11 Rusty Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2007-07-23  7:11 UTC (permalink / raw)
  To: kvm-devel

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

Signed-off-by: Rusty Russell <rusty-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>

diff -r f75b0a5fc387 drivers/kvm/kvm_main.c
--- a/drivers/kvm/kvm_main.c	Mon Jul 23 11:16:12 2007 +1000
+++ b/drivers/kvm/kvm_main.c	Mon Jul 23 17:05:30 2007 +1000
@@ -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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-23  7:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-23  7:11 [PATCH] Return if the pdptrs are invalid when the guest turns on PAE Rusty Russell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.