[libvirt] [PATCH v3 0/4] Some patches for native TLS encrypted chardev TCP support

John Ferlan jferlan at redhat.com
Thu Jun 16 16:26:41 UTC 2016


v2: http://www.redhat.com/archives/libvir-list/2016-June/msg01044.html

Patches 3 and 4 from original already pushed.

Changes since v2:

 Patch 1: (the two bullets were ACK'd, but 3rd introduced new change so repost)
    * Change to using /etc/pki/qemu as the default directory name
    * Add description for dh-params.pem
    * Added default_tls_x509_verify

 Patch 2:
    * Change to using /etc/pki/qemu-chardev
    * Change charTCP/chartcp to chardev
    * Added chardev_tls_x509_verify

 Patch 3: (former patch 5)
    * Added processing for verify-peer and set in .args output

 Patch 4: (was ACK'd, but...)
    * Needed update due to new argument to qemuBuildTLSx509BackendProps


John Ferlan (4):
  conf: Add new default TLS X.509 certificate default directory
  conf: Introduce chartcp_tls_x509_cert_dir
  qemu: Add support for TLS X.509 path to TCP chardev backend
  qemu: Add the ability to hotplug the TLS X.509 environment

 src/conf/domain_conf.h                             |   1 +
 src/qemu/libvirtd_qemu.aug                         |  11 ++-
 src/qemu/qemu.conf                                 |  83 ++++++++++++----
 src/qemu/qemu_command.c                            | 109 ++++++++++++++++++++-
 src/qemu/qemu_command.h                            |   7 ++
 src/qemu/qemu_conf.c                               |  59 +++++++++--
 src/qemu/qemu_conf.h                               |   7 ++
 src/qemu/qemu_hotplug.c                            |  30 +++++-
 src/qemu/qemu_monitor_json.c                       |   9 ++
 src/qemu/test_libvirtd_qemu.aug.in                 |   5 +
 .../qemuxml2argv-serial-tcp-tlsx509-chardev.args   |  33 +++++++
 .../qemuxml2argv-serial-tcp-tlsx509-chardev.xml    |  41 ++++++++
 tests/qemuxml2argvtest.c                           |   6 ++
 .../qemuxml2xmlout-serial-tcp-tlsx509-chardev.xml  |  50 ++++++++++
 tests/qemuxml2xmltest.c                            |   1 +
 15 files changed, 424 insertions(+), 28 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-tlsx509-chardev.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-tlsx509-chardev.xml
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-serial-tcp-tlsx509-chardev.xml

-- 
2.5.5




More information about the libvir-list mailing list