Change from v10: 1. Update according to the comments of Michael. 2. Use mmio_needed to exit to userspace according to Marcelo's comments. Sheng Yang (4): KVM: Move struct kvm_io_device to kvm_host.h KVM: Add kvm_io_ext_data to IO handler KVM: Emulate MSI-X table in kernel KVM: Add documents for MSI-X MMIO API Documentation/kvm/api.txt | 58 +++++++++ arch/x86/kvm/Makefile | 2 +- arch/x86/kvm/i8254.c | 6 +- arch/x86/kvm/i8259.c | 3 +- arch/x86/kvm/lapic.c | 3 +- arch/x86/kvm/x86.c | 42 +++++-- include/linux/kvm.h | 28 +++++ include/linux/kvm_host.h | 64 ++++++++++- virt/kvm/assigned-dev.c | 41 +++++++ virt/kvm/coalesced_mmio.c | 3 +- virt/kvm/eventfd.c | 2 +- virt/kvm/ioapic.c | 2 +- virt/kvm/iodev.h | 31 +---- virt/kvm/kvm_main.c | 40 ++++++- virt/kvm/msix_mmio.c | 291 +++++++++++++++++++++++++++++++++++++++++++++ virt/kvm/msix_mmio.h | 26 ++++ 16 files changed, 591 insertions(+), 51 deletions(-) create mode 100644 virt/kvm/msix_mmio.c create mode 100644 virt/kvm/msix_mmio.h -- 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