WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 0 of 3] xl: implement basic PCI passthrough sanity ch

To: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 0 of 3] xl: implement basic PCI passthrough sanity checks
From: Gianni Tedesco <gianni.tedesco@xxxxxxxxxx>
Date: Tue, 27 Jul 2010 17:24:30 +0100
Cc: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Tue, 27 Jul 2010 09:30:17 -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
Following patch series implements basic safety checks for PCI passthrough in
libxl.  Specifically it deals with the case where the same PCI device may be
multiply assigned in to one or more domU's. As a bonus, implement the
pci-list-assignable-devices xl command.

 tools/libxl/Makefile      |    2 +-
 tools/libxl/libxl.c       |  501 ------------------------------------------
 tools/libxl/libxl_pci.c   |  538 ++++++++++++++++++++++++++++++++++++++++++++++
 tools/libxl/libxl.h       |    1 +
 tools/libxl/libxl_pci.c   |  123 ++++++++++
 tools/libxl/xl.h          |    1 +
 tools/libxl/xl_cmdimpl.c  |   34 ++
 tools/libxl/xl_cmdtable.c |    5 +
 tools/libxl/libxl_pci.c   |   11 +-
 9 files changed, 713 insertions(+), 503 deletions(-)

Signed-off-by: Gianni Tedesco <gianni.tedesco@xxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel