From: Joerg Roedel Date: Fri, 10 Sep 2010 15:31:01 +0000 (+0200) Subject: KVM: MMU: Track NX state in struct kvm_mmu X-Git-Tag: v2.6.37-rc1~142^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d48a985c7bbcd72b4e92e301ea96bf1252ffc61;p=pandora-kernel.git KVM: MMU: Track NX state in struct kvm_mmu With Nested Paging emulation the NX state between the two MMU contexts may differ. To make sure that always the right fault error code is recorded this patch moves the NX state into struct kvm_mmu so that the code can distinguish between L1 and L2 NX state. Signed-off-by: Joerg Roedel Signed-off-by: Avi Kivity --- Reading git-diff-tree failed