From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gianni Tedesco Subject: [PATCH 0 of 3] xl: implement basic PCI passthrough sanity checks Date: Tue, 27 Jul 2010 17:24:30 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen Devel Cc: Ian Jackson , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org 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