]> git.proxmox.com Git - mirror_qemu.git/commit - nbd/nbd-internal.h
nbd: implement TLS support in the protocol negotiation
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 10 Feb 2016 18:41:11 +0000 (18:41 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Feb 2016 16:16:28 +0000 (17:16 +0100)
commitf95910fe6bbf64bb9b5cea7546a1778ba96ce782
treeca32a89428ee209e5de8c7da9f7c52139a91ef6b
parent69b49502d8b7b582af79fac5bef7b7ccc2dc9c1e
nbd: implement TLS support in the protocol negotiation

This extends the NBD protocol handling code so that it is capable
of negotiating TLS support during the connection setup. This involves
requesting the STARTTLS protocol option before any other NBD options.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1455129674-17255-14-git-send-email-berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
block/nbd-client.c
blockdev-nbd.c
include/block/nbd.h
nbd/client.c
nbd/common.c
nbd/nbd-internal.h
nbd/server.c
qemu-nbd.c