Re: [PATCH] domain-conf: reorder usb controllers so the master is first

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 26, 2015 at 05:28:21PM +0100, Pavel Hrdina wrote:
> USB controllers can share the same 'index' which indicates, that there
> is some sort of master-companion relationship.  Reorder the controllers
> in XML in to place the master controller before its companions.  This is
> required by QEMU to not fail with error message:
> 
> error: internal error: process exited while connecting to monitor:
> 2015-10-26T16:25:17.630265Z qemu-system-x86_64:
> -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x6:
> USB bus 'usb.0' not found
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1166452
> 
> Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
> ---
>  src/conf/domain_conf.c | 33 ++++++++++++++++++++++-----------
>  1 file changed, 22 insertions(+), 11 deletions(-)
> 

Makes sense, but the patch would look better with -b if the
non-functional changes were separate.
A test case would be nice too.

Jan

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]