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>
Showing
- block/nbd-client.c 9 additions, 3 deletionsblock/nbd-client.c
- blockdev-nbd.c 1 addition, 1 deletionblockdev-nbd.c
- include/block/nbd.h 8 additions, 0 deletionsinclude/block/nbd.h
- nbd/client.c 135 additions, 1 deletionnbd/client.c
- nbd/common.c 15 additions, 0 deletionsnbd/common.c
- nbd/nbd-internal.h 14 additions, 0 deletionsnbd/nbd-internal.h
- nbd/server.c 111 additions, 7 deletionsnbd/server.c
- qemu-nbd.c 3 additions, 1 deletionqemu-nbd.c
Loading
Please register or sign in to comment