Description of problem:
If one has USB disks configured for domain with explicit <address/>, libvirtd ignores that node when building qemu command line. So, disk are connected to the first free USB port implicitly by qemu.
That breaks other USB devices which have explicit <address/> - ports they should be connected to may be already occupied by disks.
I attach patch (libvirt-0.10.2-qemu-usb-storage-address.patch) to fix that.
Then, with that patch applied, if one has USB disk connected to the USB hub, qemu fails to start, because it does not know anything about hubs yet (when parsing disks).
I attach patch to fix that (libvirt-0.10.2-qemu-early-usb-hub-append.patch) together with fixes to tests suite (libvirt-0.10.2-qemu-early-usb-hub-append-tests-fix.patch)
Version-Release number of selected component (if applicable):
libvirt-0.10.2
qemu-1.2.0