]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: capabilities: Fill SDL graphics support only when it's really supported
authorPeter Krempa <pkrempa@redhat.com>
Tue, 15 Jun 2021 09:47:01 +0000 (11:47 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 15 Jun 2021 14:58:23 +0000 (16:58 +0200)
commit599b17d5801cd717f1e6a990dbbe295ae2100433
tree3b90e75c80eda4dba664d22d87e2cf148afac39e
parent0a8d3740d03c05328348582c7825e41e210189ee
qemu: capabilities: Fill SDL graphics support only when it's really supported

virQEMUCapsFillDomainDeviceGraphicsCaps fills data needed both for
validation of the graphics type and also for correct display in the
(dom)capablities XML.

Signal the support for SDL only when qemu has the capability.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
src/qemu/qemu_capabilities.c