linux/drivers/kvm
Avi Kivity 9c5623e3e4 KVM: VMX: Use vmx to inject real-mode interrupts
Instead of injecting real-mode interrupts by writing the interrupt frame into
guest memory, abuse vmx by injecting a software interrupt.  We need to
pretend the software interrupt instruction had a length > 0, so we have to
adjust rip backward.

This lets us not to mess with writing guest memory, which is complex and also
sleeps.

Signed-off-by: Avi Kivity <avi@qumranet.com>
2008-01-30 17:53:00 +02:00
..
i8259.c KVM: Export PIC reset for kernel device reset 2008-01-30 17:52:55 +02:00
ioapic.c KVM: Split IOAPIC reset function and export for kernel RESET 2008-01-30 17:52:55 +02:00
irq.c KVM: Portability: Split kvm_vcpu into arch dependent and independent parts (part 1) 2008-01-30 17:52:54 +02:00
irq.h KVM: Split IOAPIC reset function and export for kernel RESET 2008-01-30 17:52:55 +02:00
Kconfig Consolidate host virtualization support under Virtualization menu 2007-10-23 15:49:47 +10:00
kvm_main.c KVM: Add make_page_dirty() to kvm_clear_guest_page() 2008-01-30 17:53:00 +02:00
kvm_svm.h KVM: Dynamically allocate vcpus 2007-10-13 10:18:20 +02:00
kvm.h KVM: Portability: Move x86 vcpu ioctl handlers to x86.c 2008-01-30 17:53:00 +02:00
lapic.c KVM: Portability: Split kvm_vcpu into arch dependent and independent parts (part 1) 2008-01-30 17:52:54 +02:00
Makefile KVM: Move x86 msr handling to new files x86.[ch] 2008-01-30 17:52:51 +02:00
mmu.c KVM: MMU: Topup the mmu memory preallocation caches before emulating an insn 2008-01-30 17:52:57 +02:00
paging_tmpl.h KVM: MMU: Partial swapping of guest memory 2008-01-30 17:52:54 +02:00
segment_descriptor.h KVM: Portability: Move memory segmentation to x86.c 2008-01-30 17:52:57 +02:00
svm.c KVM: Move page fault processing to common code 2008-01-30 17:52:57 +02:00
svm.h KVM: CodingStyle cleanup 2008-01-30 17:52:50 +02:00
vmx.c KVM: VMX: Use vmx to inject real-mode interrupts 2008-01-30 17:53:00 +02:00
vmx.h KVM: VMX: Use vmx to inject real-mode interrupts 2008-01-30 17:53:00 +02:00
x86_emulate.c KVM: x86 emulator: Hoist modrm and abs decoding into separate functions 2008-01-30 17:52:59 +02:00
x86_emulate.h KVM: x86 emulator: centralize decoding of one-byte register access insns 2008-01-30 17:52:59 +02:00
x86.c KVM: Portability: Move x86 vcpu ioctl handlers to x86.c 2008-01-30 17:53:00 +02:00
x86.h KVM: Portability: Move pio emulation functions to x86.c 2008-01-30 17:52:59 +02:00