Re: [PATCH v5 3/9] qemu: Add support for TLS X.509 path to TCP chardev backend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 04, 2016 at 11:21:21AM -0400, John Ferlan wrote:
> When building a chardev device string for tcp, add the necessary pieces to
> access provide the TLS X.509 path to qemu.  This includes generating the
> 'tls-creds-x509' object and then adding the 'tls-creds' parameter to the
> VIR_DOMAIN_CHR_TYPE_TCP command line.
> 
> Finally add the tests for the qemu command line. This test will make use
> of the "new(ish)" /etc/pki/qemu setting for a TLS certificate environment
> by *not* "resetting" the chardevTLSx509certdir prior to running the test.
> Also use the default "verify" option (which is "no").
> 
> Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
> ---
>  src/qemu/qemu_alias.c                              |  16 +++
>  src/qemu/qemu_alias.h                              |   3 +
>  src/qemu/qemu_command.c                            | 114 ++++++++++++++++++++-
>  .../qemuxml2argv-serial-tcp-tlsx509-chardev.args   |  33 ++++++
>  tests/qemuxml2argvtest.c                           |   6 ++
>  5 files changed, 171 insertions(+), 1 deletion(-)
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-tlsx509-chardev.args

ACK

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]