On Fri, Jan 08, 2010 at 05:23:08PM +0000, Daniel P. Berrange wrote: > Hotunplug of devices requires that we know their PCI address. Even > hotplug of SCSI drives, required that we know the PCI address of > the SCSI controller to attach the drive to. We can find this out > by running 'info pci' and then correlating the vendor/product IDs > with the devices we booted with. > > Although this approach is somewhat fragile, it is the only viable > option with QEMU < 0.12, since there is no way for libvirto set > explicit PCI addresses when creating devices in the first place. > For QEMU > 0.12, this code will not be used. > Okay, this looks a bit fragile, but a temporary measure, parsing code looked fine, ACK, Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@xxxxxxxxxxxx | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list