]> Git Repo - qemu.git/commit
nbd: enable use of TLS with NBD block driver
authorDaniel P. Berrange <[email protected]>
Wed, 10 Feb 2016 18:41:12 +0000 (18:41 +0000)
committerPaolo Bonzini <[email protected]>
Tue, 16 Feb 2016 16:16:33 +0000 (17:16 +0100)
commit75822a12c046646684bc8cad6296842b60e7b6bb
treeb096aa336514a9af14f9115f6d77b9f91fb08f54
parentf95910fe6bbf64bb9b5cea7546a1778ba96ce782
nbd: enable use of TLS with NBD block driver

This modifies the NBD driver so that it is possible to request
use of TLS. This is done by providing the 'tls-creds' parameter
with the ID of a previously created QCryptoTLSCreds object.

For example

  $QEMU -object tls-creds-x509,id=tls0,endpoint=client,\
                dir=/home/berrange/security/qemutls \
        -drive driver=nbd,host=localhost,port=9000,tls-creds=tls0

The client will drop the connection if the NBD server does not
provide TLS.

Signed-off-by: Daniel P. Berrange <[email protected]>
Message-Id: <1455129674[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
block/nbd-client.c
block/nbd-client.h
block/nbd.c
This page took 0.025075 seconds and 4 git commands to generate.