]> git.proxmox.com Git - mirror_qemu.git/commit - hmp.c
nbd: enable use of TLS with nbd-server-start command
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 10 Feb 2016 18:41:14 +0000 (18:41 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Feb 2016 16:17:49 +0000 (17:17 +0100)
commitddffee3904828f11d596a13bd3c8960d747c66d8
treefbd815059b4a89febe1129d44363531419b0b545
parent145614a112a8e67d6c84b26faaf2b2002e17d9be
nbd: enable use of TLS with nbd-server-start command

This modifies the nbd-server-start QMP command so that it
is possible to request use of TLS. This is done by adding
a new optional parameter "tls-creds" which provides the ID
of a previously created QCryptoTLSCreds object instance.

TLS is only supported when using an IPv4/IPv6 socket listener.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1455129674-17255-17-git-send-email-berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
blockdev-nbd.c
hmp.c
qapi/block.json
qmp-commands.hx