]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Skip USB controller validation when model=none
authorAndrea Bolognani <abologna@redhat.com>
Mon, 22 Sep 2025 16:24:17 +0000 (18:24 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 6 Oct 2025 09:16:08 +0000 (11:16 +0200)
commit5050039e3048f0ae18f5efb19d3bbf3fbbce0d62
tree0bf83fbec85d17d712eba7a4aebd876ac38ffc1d
parentdc6e5b676dc10bdefb73d025aca3c5c2c98ff657
qemu: Skip USB controller validation when model=none

This is not useful right now, because the function is simply
not called at all for model=none USB controllers, but that's
going to change in a moment, when we start calling the
function during validation instead of command line generation.
Making this change ahead of time means that we can simply
move the code verbatim later.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_command.c