KVM: MMU: Emulate #PF error code of reserved bits violation
authorDong, Eddie <eddie.dong@intel.com>
Mon, 30 Mar 2009 08:21:08 +0000 (16:21 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:35 +0000 (11:48 +0300)
commit82725b20e22fb85377f61a16f6d0d5cfc28b45d3
tree16049e38be3262efa60f0d39a85cdf97006550cf
parent362c1055e58ecd25a9393c520ab263c80b147497
KVM: MMU: Emulate #PF error code of reserved bits violation

Detect, indicate, and propagate page faults where reserved bits are set.
Take care to handle the different paging modes, each of which has different
sets of reserved bits.

[avi: fix pte reserved bits for efer.nxe=0]

Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu.c
arch/x86/kvm/paging_tmpl.h
arch/x86/kvm/x86.c