This is a follow-up to
https://bugzilla.redhat.com/show_bug.cgi?id=861309
If one has USB disks configured for domain with explicit <address/>, libvirtd
ignores that node when building qemu command line. So, disk is 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.
With first 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).
That's why second patch is needed.
Vladislav Bogdanov (2):
qemu: Do not ignore address for USB disks
qemu: pass -usb and usb hubs earlier, so USB disks with static
address are handled properly