On Wed, Jan 24, 2024 at 20:37:42 +0100, Andrea Bolognani wrote:
This function is tightly coupled with
qemuDomainDefaultUSBControllerModel(), as whether or not the
legacy '-usb' option is going to be used depends on the return
value of both. As such, it makes sense for them to be close to
one another.
Honestly this logic has nothing to do in the commandline generator, but
that involves the decisions done when calling this function.
For now:
Reviewed-by: Peter Krempa <pkrempa(a)redhat.com>
I'll see how I like the further changes. OTherwise it'll be more
beneficial to remove also the rest of the logic and not just this
helper.