From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gianni Tedesco Subject: [PATCH 0 of 3] Introduce basic PCI safety checks in libxl and centralize BDF parsing Date: Wed, 28 Jul 2010 20:40:48 +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@lists.xensource.com Cc: Ian Jackson , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org This patch series follows on from previous patch moving PCI code in to libxl_pci.c Changes from previous patch-series are thus: 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 macros. 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.