kernel-ark/arch/x86/kvm
Avi Kivity 9645bb56b3 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 <avi@redhat.com>
2009-06-10 11:48:35 +03:00
..
i8254.c KVM: make 'lapic_timer_ops' and 'kpit_ops' static 2009-06-10 11:48:29 +03:00
i8254.h KVM: unify part of generic timer handling 2009-06-10 11:48:25 +03:00
i8259.c KVM: fix sparse warnings: context imbalance 2009-03-24 11:03:13 +02:00
irq.c KVM: x86: fix LAPIC pending count calculation 2009-02-15 02:47:38 +02:00
irq.h KVM: make irq ack notifications aware of routing table 2009-03-24 11:03:08 +02:00
Kconfig Merge branch 'tracing/core-v2' into tracing-for-linus 2009-04-02 00:49:02 +02:00
kvm_cache_regs.h KVM: x86: accessors for guest registers 2008-10-15 10:13:57 +02:00
kvm_svm.h KVM: x86: Virtualize debug registers 2009-03-24 11:02:49 +02:00
kvm_timer.h KVM: unify part of generic timer handling 2009-06-10 11:48:25 +03:00
lapic.c KVM: make 'lapic_timer_ops' and 'kpit_ops' static 2009-06-10 11:48:29 +03:00
lapic.h KVM: APIC: get rid of deliver_bitmask 2009-06-10 11:48:27 +03:00
Makefile KVM: unify part of generic timer handling 2009-06-10 11:48:25 +03:00
mmu.c KVM: MMU: Emulate #PF error code of reserved bits violation 2009-06-10 11:48:35 +03:00
mmu.h KVM: is_long_mode() should check for EFER.LMA 2009-03-24 11:03:13 +02:00
paging_tmpl.h KVM: MMU: Emulate #PF error code of reserved bits violation 2009-06-10 11:48:35 +03:00
svm.c KVM: Fix interrupt unhalting a vcpu when it shouldn't 2009-06-10 11:48:33 +03:00
timer.c KVM: unify part of generic timer handling 2009-06-10 11:48:25 +03:00
tss.h KVM: x86: hardware task switching support 2008-04-27 12:00:39 +03:00
vmx.c KVM: VMX: Correct wrong vmcs field sizes 2009-06-10 11:48:34 +03:00
x86_emulate.c KVM: x86 emulator: implement 'ret far' instruction (opcode 0xcb) 2009-03-24 11:03:01 +02:00
x86.c KVM: MMU: Use different shadows when EFER.NXE changes 2009-06-10 11:48:35 +03:00
x86.h KVM: reuse (pop|push)_irq from svm.c in vmx.c 2009-06-10 11:48:31 +03:00