block/nbd: Accept SocketAddress
authorMax Reitz <mreitz@redhat.com>
Tue, 25 Oct 2016 13:11:34 +0000 (15:11 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 27 Oct 2016 17:05:23 +0000 (19:05 +0200)
commit491d6c7c4e4793ae5b009e120139ad62f56b5a35
treef80dbf7524827f0b68f4caf899fee8e2861bf0cd
parent48c38e0b8d2d71ec82928bd4b4136a941d39de3c
block/nbd: Accept SocketAddress

Add a new option "server" to the NBD block driver which accepts a
SocketAddress.

"path", "host" and "port" are still supported as legacy options and are
mapped to their corresponding SocketAddress representation.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/nbd.c
tests/qemu-iotests/051.out
tests/qemu-iotests/051.pc.out