From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sheng Yang Subject: [PATCH 0/3 v7] MSI-X MMIO support for KVM Date: Thu, 6 Jan 2011 18:19:42 +0800 Message-ID: <1294309185-21417-1-git-send-email-sheng@linux.intel.com> Cc: "Michael S. Tsirkin" , kvm@vger.kernel.org, Sheng Yang To: Avi Kivity , Marcelo Tosatti Return-path: Received: from mga11.intel.com ([192.55.52.93]:9394 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752427Ab1AFKRY (ORCPT ); Thu, 6 Jan 2011 05:17:24 -0500 Sender: kvm-owner@vger.kernel.org List-ID: Change from v6: 1. Discard PBA support. But we can still add it later. 2. Fix one memory reference bug 3. Add automatically MMIO unregister after device was deassigned. 4. Update according to Avi's comments. 5. Add documents for new API. Notice this patchset depends on two PCI patches named: PCI: MSI: Move MSI-X entry definition to pci_regs.h PCI: Add mask bit definition for MSI-X table These two patches are in the Jesse's pci-2.6 tree. Do I need to repost them? Sheng Yang (3): KVM: Move struct kvm_io_device to kvm_host.h KVM: Emulate MSI-X table in kernel KVM: Add documents for MSI-X MMIO API Documentation/kvm/api.txt | 41 +++++++ arch/x86/kvm/Makefile | 2 +- arch/x86/kvm/x86.c | 8 +- include/linux/kvm.h | 21 ++++ include/linux/kvm_host.h | 48 ++++++++ virt/kvm/assigned-dev.c | 44 +++++++ virt/kvm/iodev.h | 25 +---- virt/kvm/kvm_main.c | 38 ++++++- virt/kvm/msix_mmio.c | 284 +++++++++++++++++++++++++++++++++++++++++++++ virt/kvm/msix_mmio.h | 25 ++++ 10 files changed, 505 insertions(+), 31 deletions(-) create mode 100644 virt/kvm/msix_mmio.c create mode 100644 virt/kvm/msix_mmio.h