This patchset changes interrupt injection to be done from normal process context instead of interrupts disabled context. This is useful for real mode interrupt injection on Intel without the current hacks (injecting as a software interrupt of a vm86 task), reducing latencies, and later, for allowing nested virtualization code to use kvm_read_guest()/kvm_write_guest() instead of kmap() to access the guest vmcb/vmcs. Seems to survive a hack that cancels every 16th entry, after injection has already taken place. v2: svm support (easier than expected) fix silly vmx warning Avi Kivity (3): KVM: VMX: Split up vmx_complete_interrupts() KVM: VMX: Parameterize vmx_complete_interrupts() for both exit and entry KVM: Non-atomic interrupt injection arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kvm/svm.c | 12 +++++++ arch/x86/kvm/vmx.c | 65 ++++++++++++++++++++++++++++++--------- arch/x86/kvm/x86.c | 27 ++++++++-------- 4 files changed, 77 insertions(+), 28 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html