commit | 2d48a985c7bbcd72b4e92e301ea96bf1252ffc61 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Fri Sep 10 17:31:01 2010 +0200 |
committer | Avi Kivity <avi@redhat.com> | Sun Oct 24 10:52:44 2010 +0200 |
tree | df3c876c8754f57dfc255175ba5f4d9da7c08c77 | |
parent | 81407ca553c0c852b8cd3f38f3ec362d307f829b [diff] |
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 <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>