Searched hist:"145614 a1" (Results 1 – 1 of 1) sorted by relevance
/qemu/ |
H A D | qemu-nbd.c | f7812df7 Wed Oct 03 18:04:26 GMT 2018 Eric Blake <eblake@redhat.com> qemu-nbd: Document --tls-creds
Commit 145614a1 introduced --tls-creds and documented it in qemu-nbd.texi, but forgot to document it in 'qemu-nbd --help'.
Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <20181003180426.602765-1-eblake@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> 145614a1 Wed Feb 10 18:41:13 GMT 2016 Daniel P. Berrange <berrange@redhat.com> nbd: enable use of TLS with qemu-nbd server
This modifies the qemu-nbd program so that it is possible to request the use of TLS with the server. It simply adds a new command line option --tls-creds which is used to provide the ID of a QCryptoTLSCreds object previously created via the --object command line option.
For example
qemu-nbd --object tls-creds-x509,id=tls0,endpoint=server,\ dir=/home/berrange/security/qemutls \ --tls-creds tls0 \ --exportname default
TLS requires the new style NBD protocol, so if no export name is set (via --export-name), then we use the default NBD protocol export name ""
TLS is only supported when using an IPv4/IPv6 socket listener. It is not possible to use with UNIX sockets, which includes when connecting the NBD server to a host device.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Message-Id: <1455129674-17255-16-git-send-email-berrange@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|