]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_validate: Deduplicate code for video model check
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 17 Nov 2020 09:26:14 +0000 (10:26 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 18 Nov 2020 08:42:11 +0000 (09:42 +0100)
commitd009f5b400ffdff596928b5ee3fdac8820563ebd
tree3f99ba61f4797d7458c076584832f943290e0ea7
parent4f8677cee29a9595ba8403ef29764df792679c3c
qemu_validate: Deduplicate code for video model check

In my recent commit of a33279daa8 I've moved video model check
from domain capabilities validator into qemu validator. During
that I had to basically duplicate video model to qemuCaps checks.
Problem with this approach is that after my commit qemu validator
and domCaps are disconnected and thus domCaps might report (in
general) different set of supported video models.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_validate.c