From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: [PATCH 0/5] Extra capabilities for device assignment Date: Fri, 03 Dec 2010 12:33:18 -0700 Message-ID: <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]:32743 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752842Ab0LCTdT (ORCPT ); Fri, 3 Dec 2010 14:33:19 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oB3JXJVW027258 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 3 Dec 2010 14:33:19 -0500 Sender: kvm-owner@vger.kernel.org List-ID: 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: MSI-X capability is 12 bytes, not 16, MSI is 10 bytes device-assignment: Fix off-by-one in header check hw/device-assignment.c | 279 ++++++++++++++++++++++++++++++++++++++++++++++-- hw/pci.c | 14 ++ hw/pci.h | 4 - 3 files changed, 282 insertions(+), 15 deletions(-)