From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: [PATCH v2 0/5] Extra capabilities for device assignment Date: Mon, 06 Dec 2010 09:21:59 -0700 Message-ID: <20101206161810.4648.45658.stgit@s20.home> References: <20101203192343.3579.73722.stgit@s20.home> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: alex.williamson@redhat.com, ddutile@redhat.com, mst@redhat.com, chrisw@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:43504 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753819Ab0LFQWB (ORCPT ); Mon, 6 Dec 2010 11:22:01 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oB6GM0Bm020343 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 6 Dec 2010 11:22:00 -0500 In-Reply-To: <20101203192343.3579.73722.stgit@s20.home> Sender: kvm-owner@vger.kernel.org List-ID: v2: - Reimplement 2/5 to remove more cruft v1: Now that we've got PCI capabilities cleaned up and device assignment using them, we can add more capabilities to be guest visible. This adds minimal PCI Express, PCI-X, and Power Management, along with direct passthrough Vital Product Data and Vendor Specific capabilities. With this, devices like tg3, bnx2, vxge, and potentially quite a few others that didn't work previously should be happier. Thanks, Alex --- Alex Williamson (5): device-assignment: pass through and stub more PCI caps device-assignment: Error checking when adding capabilities pci: Error on PCI capability collisions pci: Remove PCI_CAPABILITY_CONFIG_* device-assignment: Fix off-by-one in header check hw/device-assignment.c | 279 ++++++++++++++++++++++++++++++++++++++++++++++-- hw/pci.c | 14 ++ hw/pci.h | 5 - 3 files changed, 279 insertions(+), 19 deletions(-)