Paolo Bonzini <pbonz...@redhat.com> writes: > Il 04/04/2014 12:58, Markus Armbruster ha scritto: >>>> >> >>>> >> Have you considered extending QEMUMachineInitArgs instead of adding this >>>> >> function? >>> > >>> > Did not think of this option earlier. You mean doing something like >>> > this? >> Yes. Looks nicer, doesn't it? > > I still think it's a libvirt bug. Mixing -nodefaults and -usb and > -device is looking for trouble I think. "-usb" is a do-what-I-mean > kind of option and it makes sense for it to add a keyboard and mouse, > even with -nodefaults.
I agree that management tools should not use -usb, except when they want to manage ancient versions of QEMU for some reason.