]> xenbits.xensource.com Git - xen.git/commit
xl: PCI code cleanups
authorGianni Tedesco <gianni.tedesco@citrix.com>
Wed, 4 Aug 2010 13:23:29 +0000 (14:23 +0100)
committerGianni Tedesco <gianni.tedesco@citrix.com>
Wed, 4 Aug 2010 13:23:29 +0000 (14:23 +0100)
commitf74035d3b1e827ff6ff1873e2f10feb011a8d0d2
tree8a87194205809fa95aafef3362f088d5c44fac12
parent4fb44903e86bf86823e46cc37482ff1387af3d59
xl: PCI code cleanups

Get rid of scan_sys_pcidir() and open-code it inside
libxl_device_pci_list_assignable() since it's not a generically re-useable
function and we're not supporting pcistub driver now. Also use macros for sysfs
dirs in libxl_device_pci_reset

Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/libxl/libxl_pci.c