linux/drivers/kvm
Avi Kivity c9047f5333 KVM: Handle guest page faults when emulating mmio
Usually, guest page faults are detected by the kvm page fault handler,
which detects if they are shadow faults, mmio faults, pagetable faults,
or normal guest page faults.

However, in ceratin circumstances, we can detect a page fault much later.
One of these events is the following combination:

- A two memory operand instruction (e.g. movsb) is executed.
- The first operand is in mmio space (which is the fault reported to kvm)
- The second operand is in an ummaped address (e.g. a guest page fault)

The Windows 2000 installer does such an access, an promptly hangs.  Fix
by adding the missing page fault injection on that path.

Signed-off-by: Avi Kivity <avi@qumranet.com>
2007-05-03 10:52:29 +03:00
..
Kconfig
kvm.h KVM: Use slab caches to allocate mmu data structures 2007-05-03 10:52:29 +03:00
kvm_main.c KVM: Handle guest page faults when emulating mmio 2007-05-03 10:52:29 +03:00
kvm_svm.h KVM: Remove unused and write-only variables 2007-05-03 10:52:26 +03:00
kvm_vmx.h
Makefile
mmu.c KVM: Retry sleeping allocation if atomic allocation fails 2007-05-03 10:52:29 +03:00
paging_tmpl.h KVM: MMU: Fix hugepage pdes mapping same physical address with different access 2007-05-03 10:52:27 +03:00
segment_descriptor.h
svm.c KVM: SVM: Report hardware exit reason to userspace instead of dmesg 2007-05-03 10:52:29 +03:00
svm.h KVM: SVM: forbid guest to execute monitor/mwait 2007-05-03 10:52:26 +03:00
vmx.c KVM: Fix overflow bug in overflow detection code 2007-05-03 10:52:29 +03:00
vmx.h
x86_emulate.c KVM: x86 emulator: fix bit string operations operand size 2007-05-03 10:52:28 +03:00
x86_emulate.h