From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sheng Yang Subject: [PATCH 0/4 v9] MSI-X MMIO support for KVM Date: Fri, 18 Feb 2011 16:53:09 +0800 Message-ID: <1298019193-12742-1-git-send-email-sheng@linux.intel.com> Cc: kvm@vger.kernel.org, "Michael S. Tsirkin" , Sheng Yang To: Avi Kivity , Marcelo Tosatti Return-path: Received: from mga09.intel.com ([134.134.136.24]:30330 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752256Ab1BRIvN (ORCPT ); Fri, 18 Feb 2011 03:51:13 -0500 Sender: kvm-owner@vger.kernel.org List-ID: Sorry for the long delay, just come back from vacation... Change from v8: 1. Update struct kvm_run to contain MSI-X routing update exit specific information. 2. Fix a mmio_nr counting bug. Notice this patchset still based on 2.6.37 due to a block bug on assigned device in the upstream now. 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 | 40 +++++-- include/linux/kvm.h | 28 +++++ include/linux/kvm_host.h | 65 ++++++++++- virt/kvm/assigned-dev.c | 44 +++++++ 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 | 293 +++++++++++++++++++++++++++++++++++++++++++++ virt/kvm/msix_mmio.h | 25 ++++ 16 files changed, 594 insertions(+), 51 deletions(-) create mode 100644 virt/kvm/msix_mmio.c create mode 100644 virt/kvm/msix_mmio.h