[libvirt] [PATCH 0/2] qemu: Fix <address/> is ignored for USB disks

Daniel P. Berrange berrange at redhat.com
Mon Oct 29 14:31:24 UTC 2012


On Fri, Oct 26, 2012 at 09:08:41AM +0000, Vladislav Bogdanov wrote:
> 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

ACK to both


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list