]> git.ipfire.org Git - thirdparty/libvirt.git/commit
domain_validate: XML validate that non-virtio video devices have none virtio options
authorKristina Hanicova <khanicov@redhat.com>
Wed, 10 Mar 2021 16:42:51 +0000 (17:42 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 18 Mar 2021 14:03:49 +0000 (15:03 +0100)
commit25d3b41e5e9c46601c5aabdc792650345516e6dd
tree84a0d4118290cddbcebf00810e9426ba9b1e5714
parentb5d25b81838e1854c5bd3761b4b4d735585e4d99
domain_validate: XML validate that non-virtio video devices have none virtio options

With this, XML fails if non-virtio video devices have virtio
options. Previously it didn't raise error.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1922093
Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_validate.c