diff options
author | 2016-02-10 18:41:13 +0000 | |
---|---|---|
committer | 2016-02-16 17:17:42 +0100 | |
commit | 145614a112a8e67d6c84b26faaf2b2002e17d9be (patch) | |
tree | fa7204b2f7957acfe349a3bb3345fc7ddb38ae2b /scripts/qapi.py | |
parent | nbd: enable use of TLS with NBD block driver (diff) | |
download | qemu-145614a112a8e67d6c84b26faaf2b2002e17d9be.tar.xz qemu-145614a112a8e67d6c84b26faaf2b2002e17d9be.zip |
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>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions