Change from v4: 1. Rebased on latest KVM 2. Fix minor comments. 3. Drop big-endian patch because unable to guarantee the correctless. Add TODO for it. Change from v3: 1. Re-design the userspace API. 2. Add big-endian support for msix_mmio_read/write()(untested!) Change from v2: 1. Move all mask handling to kernel, and userspace has to access it using API. 2. Discard userspace mask bit operation API. Sheng Yang (6): PCI: MSI: Move MSI-X entry definition to pci_regs.h PCI: Add mask bit definition for MSI-X table KVM: Move struct kvm_io_device to kvm_host.h KVM: Add kvm_get_irq_routing_entry() func KVM: assigned dev: Clean up assigned_device's flag KVM: assigned dev: MSI-X mask support arch/x86/kvm/x86.c | 1 + drivers/pci/msi.c | 5 +- drivers/pci/msi.h | 6 - include/linux/kvm.h | 32 +++++ include/linux/kvm_host.h | 31 +++++ include/linux/pci_regs.h | 8 + virt/kvm/assigned-dev.c | 325 +++++++++++++++++++++++++++++++++++++++++++++- virt/kvm/iodev.h | 25 +---- virt/kvm/irq_comm.c | 20 +++ 9 files changed, 417 insertions(+), 36 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