]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: error out when vnc vncTLSx509secretUUID is unsupported
authorJán Tomko <jtomko@redhat.com>
Tue, 15 Jan 2019 12:55:28 +0000 (13:55 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 22 Jan 2019 11:18:28 +0000 (12:18 +0100)
commit4fb769f5e02833ecf6ad495af3f3c705364e2d2c
tree390b156c8fe73461916f1549ee490d4236c7c871
parent2e2b0d69a99e9f985796f8399fdc8f2253a53e59
qemu: error out when vnc vncTLSx509secretUUID is unsupported

Add a capability check to qemuDomainDefValidate and refuse to start
a domain with VNC graphics if the TLS secret was set in qemu.conf
and it's not supported.

Note that qemuDomainSecretGraphicsPrepare does not generate any
secret data if the capability is not present and qemuBuildTLSx509BackendProps
is not called at all.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_domain.c