]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Move PCI command modelName TypeToString to controller def validate
authorJohn Ferlan <jferlan@redhat.com>
Mon, 27 Nov 2017 20:05:49 +0000 (15:05 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 2 Feb 2018 19:35:26 +0000 (14:35 -0500)
commit13b2083c4256be4c891da98acb45fb021436c73f
tree74efb314324021bceacb03fc3b3bb272eb1e36f4
parent4d7f9bf0ef90878ad0e6bb14155fcb40df903c17
qemu: Move PCI command modelName TypeToString to controller def validate

Similar to the checking the modelName vs. NAME_NONE, let's make the
ModelNameTypeToString check more generic too within the checking done
in controller validation (with the same ignore certain models.

NB: We need to keep the ModelNameTypeToString fetch in command line
validation since we use it, but at least we can assume it returns
something valid now.
src/qemu/qemu_command.c
src/qemu/qemu_domain.c