]> xenbits.xensource.com Git - libvirt.git/commit
qemu_validate: Use domaincaps to validate supported net backend type
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 28 Jun 2024 07:53:10 +0000 (09:53 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 1 Jul 2024 10:39:10 +0000 (12:39 +0200)
commitbd6060d1c36373b17e6c1f0148eb6ce3cc5db86a
tree4a0f86f90cddba4350c31140d16f59a18838514c
parent751a3274230ec6ee10b517b6301eef6a9d34ba2b
qemu_validate: Use domaincaps to validate supported net backend type

Now that the logic for detecting supported net backend types has
been moved to domain capabilities generation, we can just use it
when validating net backend type. Just like we do for device
models and so on.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_validate.c