]> xenbits.xensource.com Git - libvirt.git/commit
qemu: hotplug: Fix TLS setup on disk hotplug
authorPeter Krempa <pkrempa@redhat.com>
Fri, 1 Jun 2018 15:21:02 +0000 (17:21 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 5 Jun 2018 06:14:00 +0000 (08:14 +0200)
commitc495905bff602c9b0db665f3cf5997721bfbff2b
tree7c6c447737ca746280cdc72222004021a1bceeb8
parent0b9451f9d602f061ff1b81127863375883c95999
qemu: hotplug: Fix TLS setup on disk hotplug

We need to check if TLS is enabled as the variable is a tristate.
Currently we'd setup TLS even if it was explicitly turned off.
Thankfully TLS for disks was only used with the vxhs protocol so hardly
anybody would ever be able to hit the problem.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_hotplug.c