]> xenbits.xensource.com Git - libvirt.git/commit
domain: Add optional 'tls' attribute for TCP chardev
authorPavel Hrdina <phrdina@redhat.com>
Mon, 24 Oct 2016 12:05:54 +0000 (14:05 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 24 Oct 2016 14:05:33 +0000 (16:05 +0200)
commit0298531b291b1f12931573f8209def7e2723aba4
treea037c91d847489dddf31be7be92a41a6d4061cf5
parente4501244a0f2a8099995e8eb9312d053d595de6c
domain: Add optional 'tls' attribute for TCP chardev

Add an optional "tls='yes|no'" attribute for a TCP chardev.

For QEMU, this will allow for disabling the host config setting of the
'chardev_tls' for a domain chardev channel by setting the value to "no" or
to attempt to use a host TLS environment when setting the value to "yes"
when the host config 'chardev_tls' setting is disabled, but a TLS environment
is configured via either the host config 'chardev_tls_x509_cert_dir' or
'default_tls_x509_cert_dir'

Signed-off-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
14 files changed:
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_command.c
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_hotplug.c
src/qemu/qemu_process.c
tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-tlsx509-chardev-notls.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-tlsx509-chardev-notls.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/qemuxml2xmlout-serial-tcp-tlsx509-chardev-notls.xml [new symlink]
tests/qemuxml2xmltest.c