From: Alex Williamson Subject: [PATCH 0/8] PCI capability and device assignment improvements Date: Thu, 11 Nov 2010 19:54:49 -0700 Message-ID: <20101112024710.31423.99667.stgit@s20.home> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: qemu-devel@nongnu.org, mst@redhat.com, alex.williamson@redhat.com, chrisw@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:55214 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753289Ab0KLCyx (ORCPT ); Thu, 11 Nov 2010 21:54:53 -0500 Sender: kvm-owner@vger.kernel.org List-ID: This series attempts to clean up capability support between common code and device assignment. In doing so, we can move existing MSI & MSI-X capabilities to offsets matching real hardware, and further enable more capabilities to be exposed. The last patch is only for RFC, I'd like some input on what we should pass directly and where we should only provide read-only/emulated access. Patches 1-7 are submitted for commit. Thanks, Alex --- Alex Williamson (8): device-assignment: pass through and stub more PCI caps pci: Pass ID for capability read/write handlers device-assignment: Move PCI capabilities to match physical hardware pci: Remove cap.length, cap.start, cap.supported pci: Replace used bitmap with capability byte map device-assignment: Use PCI capabilities support pci: Remove pci_enable_capability_support() pci: pci_default_cap_write_config ignores wmask hw/device-assignment.c | 273 ++++++++++++++++++++++++++++++++++++------------ hw/pci.c | 103 +++++++----------- hw/pci.h | 25 ++-- 3 files changed, 256 insertions(+), 145 deletions(-)