kernel-ark/drivers/kvm
Avi Kivity 039576c03c KVM: Avoid guest virtual addresses in string pio userspace interface
The current string pio interface communicates using guest virtual addresses,
relying on userspace to translate addresses and to check permissions.  This
interface cannot fully support guest smp, as the check needs to take into
account two pages at one in case an unaligned string transfer straddles a
page boundary.

Change the interface not to communicate guest addresses at all; instead use
a buffer page (mmaped by userspace) and do transfers there.  The kernel
manages the virtual to physical translation and can perform the checks
atomically by taking the appropriate locks.

Signed-off-by: Avi Kivity <avi@qumranet.com>
2007-05-03 10:52:25 +03:00
..
Kconfig [PATCH] KVM: Put KVM in a new Virtualization menu 2006-12-13 09:05:46 -08:00
kvm_main.c KVM: Avoid guest virtual addresses in string pio userspace interface 2007-05-03 10:52:25 +03:00
kvm_svm.h KVM: Use ARRAY_SIZE macro instead of manual calculation. 2007-03-04 11:12:39 +02:00
kvm_vmx.h [PATCH] KVM: Replace __x86_64__ with CONFIG_X86_64 2006-12-13 09:05:46 -08:00
kvm.h KVM: Avoid guest virtual addresses in string pio userspace interface 2007-05-03 10:52:25 +03:00
Makefile
mmu.c KVM: Avoid guest virtual addresses in string pio userspace interface 2007-05-03 10:52:25 +03:00
paging_tmpl.h KVM: Cosmetics 2007-03-04 11:12:39 +02:00
segment_descriptor.h
svm.c KVM: Avoid guest virtual addresses in string pio userspace interface 2007-05-03 10:52:25 +03:00
svm.h
vmx.c KVM: Avoid guest virtual addresses in string pio userspace interface 2007-05-03 10:52:25 +03:00
vmx.h [PATCH] kvm: vmx: handle triple faults by returning EXIT_REASON_SHUTDOWN to userspace 2007-02-12 09:48:40 -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