]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuValidateDomainDeviceDefVideo: Reject non-default video head count for devices...
authorPeter Krempa <pkrempa@redhat.com>
Tue, 18 Jan 2022 15:59:35 +0000 (16:59 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 19 Jan 2022 15:54:33 +0000 (16:54 +0100)
commit1652babf15cea63323411c450c408848f96e5866
tree351749cb7668bec6d0e0fd869cdd0b742fff0986
parent37c0a25ca0478ceee15608bfbda7d0e84d7a2274
qemuValidateDomainDeviceDefVideo: Reject non-default video head count for devices not supporting it

Only QXL and virtio-vga actually propagate the 'heads' attribute as
'max_outputs' to the commandline of qemu. Reject the setting when
non-default value is used for any other video type.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2036300
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_validate.c