mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
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>
This commit is contained in:
committed by
Paolo Bonzini
parent
145614a112
commit
ddffee3904
@@ -3825,7 +3825,7 @@ EQMP
|
||||
|
||||
{
|
||||
.name = "nbd-server-start",
|
||||
.args_type = "addr:q",
|
||||
.args_type = "addr:q,tls-creds:s?",
|
||||
.mhandler.cmd_new = qmp_marshal_nbd_server_start,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user