Re: [libvirt] [PATCH] Don't treat pci_system_init failure as fatal if no PCI bus is present

2011-09-08 Thread Eric Blake
On 09/06/2011 06:55 AM, Daniel Veillard wrote: On Mon, Sep 05, 2011 at 09:29:06PM +0200, Soren Hansen wrote: Xen PV domU's have no PCI bus. node_device_udev.c calls pci_system_init which looks for /sys/bus/pci. If it does not find /sys/bus/pci (which it won't in a Xen PV domU) it returns

Re: [libvirt] [PATCH] Don't treat pci_system_init failure as fatal if no PCI bus is present

2011-09-06 Thread Daniel Veillard
On Mon, Sep 05, 2011 at 09:29:06PM +0200, Soren Hansen wrote: Xen PV domU's have no PCI bus. node_device_udev.c calls pci_system_init which looks for /sys/bus/pci. If it does not find /sys/bus/pci (which it won't in a Xen PV domU) it returns unsuccesfully (ENOENT), which libvirt considers

[libvirt] [PATCH] Don't treat pci_system_init failure as fatal if no PCI bus is present

2011-09-05 Thread Soren Hansen
Xen PV domU's have no PCI bus. node_device_udev.c calls pci_system_init which looks for /sys/bus/pci. If it does not find /sys/bus/pci (which it won't in a Xen PV domU) it returns unsuccesfully (ENOENT), which libvirt considers fatal. This makes libvirt unusable in this environment, even though