From: Avi Kivity Date: Tue, 31 Mar 2009 08:31:54 +0000 (+0300) Subject: KVM: MMU: Use different shadows when EFER.NXE changes X-Git-Tag: v2.6.31-rc1~393^2~89 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9645bb56b31a1b70ab9e470387b5264cafc04aa9;p=pandora-kernel.git KVM: MMU: Use different shadows when EFER.NXE changes A pte that is shadowed when the guest EFER.NXE=1 is not valid when EFER.NXE=0; if bit 63 is set, the pte should cause a fault, and since the shadow EFER always has NX enabled, this won't happen. Fix by using a different shadow page table for different EFER.NXE bits. This allows vcpus to run correctly with different values of EFER.NXE, and for transitions on this bit to be handled correctly without requiring a full flush. Signed-off-by: Avi Kivity --- Reading git-diff-tree failed