kernel-ark/drivers/kvm
Avi Kivity 7993ba43db [PATCH] KVM: MMU: Perform access checks in walk_addr()
Check pte permission bits in walk_addr(), instead of scattering the checks all
over the code.  This has the following benefits:

1. We no longer set the accessed bit for accessed which fail permission checks.
2. Setting the accessed bit is simplified.
3. Under some circumstances, we used to pretend a page fault was fixed when
   it would actually fail the access checks.  This caused an unnecessary
   vmexit.
4. The error code for guest page faults is now correct.

The fix helps netbsd further along booting, and allows kvm to pass the new mmu
testsuite.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-01-26 13:50:57 -08:00
..
Kconfig [PATCH] KVM: Put KVM in a new Virtualization menu 2006-12-13 09:05:46 -08:00
kvm_main.c [PATCH] KVM: Emulate IA32_MISC_ENABLE msr 2007-01-26 13:50:57 -08:00
kvm_svm.h [PATCH] KVM: Replace __x86_64__ with CONFIG_X86_64 2006-12-13 09:05:46 -08:00
kvm_vmx.h [PATCH] KVM: Replace __x86_64__ with CONFIG_X86_64 2006-12-13 09:05:46 -08:00
kvm.h [PATCH] KVM: Emulate IA32_MISC_ENABLE msr 2007-01-26 13:50:57 -08:00
Makefile [PATCH] kvm: userspace interface 2006-12-10 09:57:22 -08:00
mmu.c [PATCH] KVM: MMU: Perform access checks in walk_addr() 2007-01-26 13:50:57 -08:00
paging_tmpl.h [PATCH] KVM: MMU: Perform access checks in walk_addr() 2007-01-26 13:50:57 -08:00
segment_descriptor.h [PATCH] kvm: userspace interface 2006-12-10 09:57:22 -08:00
svm.c [PATCH] KVM: SVM: Fix SVM idt confusion 2007-01-26 13:50:57 -08:00
svm.h [PATCH] kvm: userspace interface 2006-12-10 09:57:22 -08:00
vmx.c [PATCH] KVM: fix race between mmio reads and injected interrupts 2007-01-23 07:52:06 -08:00
vmx.h [PATCH] KVM: Rename some msrs 2006-12-30 10:56:44 -08:00
x86_emulate.c [PATCH] KVM: x86 emulator: fix bit string instructions 2007-01-23 07:52:06 -08:00
x86_emulate.h [PATCH] KVM: Replace __x86_64__ with CONFIG_X86_64 2006-12-13 09:05:46 -08:00