This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] [PATCH 0 of 6] xl PCI passthrough updates v3

To: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 0 of 6] xl PCI passthrough updates v3
From: Gianni Tedesco <gianni.tedesco@xxxxxxxxxx>
Date: Mon, 2 Aug 2010 15:58:42 +0100
Cc: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Mon, 02 Aug 2010 08:00:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.4.3
my current libxl PCI-passthrough patch-queue rebased modulo what has alread 
been applied.

Changes since v1:
 1. Move pci FLR function in to libxl_pci.c - got it all in now.
 2. Properly initialize pci device structs in new code
 3. Incorporate suggestions from Stefano wrt. API and putting sysfs paths in
 4. Rename libxl_device_pci_list to libxl_device_pci_list_assigned due to
    change in parameters for consistency with the rest of libxl PCI API.
 5. Also introduced a patch to centralise parsing of PCI BDF's and allow
    omission of the PCI domain as a short-hand for both config files and
    hot-plug command parameters. This also fixes an infinite loop in xl create
    if there is a parse error in the pci config.

Changes since v2:
 1. Use SYS_PCI_DEV macro in libxl_device_pci_reset
 2. Fix error in libxl_device_pci_list_assigned() as pointed out by Ian
 3. Get rid of scan_sys_pcidir() and implement inside
    libxl_device_pci_list_assignable() since we're not supporting pcistub
    driver now
 4. New patch: prevent attempting removal of non-attached device
 5. New patch: implement pci attach to explicitly defined virtual PCI slot
 6. New patch: corresponding to qemu-dm patch, detect pci insertion errors
    which are otherwise undetectable and cause a hang
 7. New patch: implement PCI passthrough for multi-function

Xen-devel mailing list