]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Add the ability to hotplug the TLS X.509 environment
authorJohn Ferlan <jferlan@redhat.com>
Mon, 13 Jun 2016 16:30:34 +0000 (12:30 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 9 Sep 2016 12:09:47 +0000 (08:09 -0400)
commit2c3223785c121eafbdd503f11549d7964461934f
treed6fee007e17aa47faf7aed3d4b32a128ef62e5f2
parentce61c16450d4992612d1fc6f39a39e79bfccead5
qemu: Add the ability to hotplug the TLS X.509 environment

If the incoming XML defined a path to a TLS X.509 certificate environment,
add the necessary 'tls-creds-x509' object to the VIR_DOMAIN_CHR_TYPE_TCP
character device.

Likewise, if the environment exists the hot unplug needs adjustment as
well.  Note that all the return ret were changed to goto cleanup since
the cfg needs to be unref'd

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/conf/domain_conf.h
src/qemu/qemu_command.c
src/qemu/qemu_command.h
src/qemu/qemu_hotplug.c
src/qemu/qemu_monitor_json.c