From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: [PATCH v2 0/2] qemu vfio-pci: PCIe and generic config space mangling Date: Mon, 18 Feb 2013 13:15:46 -0700 Message-ID: <20130218201427.17809.20995.stgit@bling.home> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: alex.williamson@redhat.com, qemu-devel@nongnu.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:50652 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757108Ab3BRUPs (ORCPT ); Mon, 18 Feb 2013 15:15:48 -0500 Sender: kvm-owner@vger.kernel.org List-ID: v2: Removing trailing \n from error_report calls This series generalizes the places where we already rely on QEMU config space emulation to make it easier to add various other fields. It turns out that when we start running on Q35 Windows cares quite a bit about the PCIe type we expose. Drivers will fail to load if not set to something valid and appropriate for the bus. We don't have anything in place yet to tell what the bus is, so for now we rely on a temporary option that will eventually get replaced by something automatic. Thanks, Alex --- Alex Williamson (2): vfio-pci: Generalize PCI config mangling vfio-pci: Add PCIe capability mangling based on bus type hw/vfio_pci.c | 209 ++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 170 insertions(+), 39 deletions(-)