From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJtjb-00063M-AO for qemu-devel@nongnu.org; Thu, 04 Oct 2012 18:17:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJtja-0004RM-6t for qemu-devel@nongnu.org; Thu, 04 Oct 2012 18:17:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35547) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJtjZ-0004Qm-V2 for qemu-devel@nongnu.org; Thu, 04 Oct 2012 18:17:34 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q94MHWes001263 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 4 Oct 2012 18:17:33 -0400 From: Alex Williamson Date: Thu, 04 Oct 2012 16:17:31 -0600 Message-ID: <20121004220545.3189.52569.stgit@bling.home> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 00/11] vfio-pci cleanup and fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: alex.williamson@redhat.com I've been accumulating a backlog of vfio-pci changes while we've been getting the first implementation accepted. This series includes a new algorithm for dealing with INTx that should avoid users needing to know about experimental parameters, a re-try mechanism for mappings that avoids common errors users might see trying to use vfio-pci, a rework of MSIX setup and teardown that fixes a corner case for MSIX being enabled but not used, a more robust device reset that re-inits interrupts much like pci-assign, a missing INTx setup failure cleanup, and addresses a few comments collected during initial review. Comments welcome. If there are no changes or objections I'll send a pull request for this next week. Thanks, Alex --- Alex Williamson (11): vfio-pci: Cleanup on INTx setup failure vfio-pci: Extend reset vfio-pci: Remove setting of MSI qsize vfio-pci: Use uintptr_t for void* cast vfio-pci: Don't peak at msi_supported vfio-pci: Roll the header into the .c file vfio-pci: No spurious MSIs vfio-pci: Rework MSIX setup/teardown vfio-pci: Unmap and retry DMA mapping vfio-pci: Re-order map/unmap vfio-pci: Update slow path INTx algorithm hw/vfio_pci.c | 395 +++++++++++++++++++++++++++++++++-------------------- hw/vfio_pci_int.h | 114 --------------- 2 files changed, 246 insertions(+), 263 deletions(-) delete mode 100644 hw/vfio_pci_int.h