block/ssh: Add InetSocketAddress and accept it

Enterprise / Virtualization / QEMU - Ashijeet Acharya [gmail.com] - 31 October 2016 10:49 UTC

Add InetSocketAddress compatibility to SSH driver.

Add a new option "server" to the SSH block driver which then accepts a InetSocketAddress.

"host" and "port" are supported as legacy options and are mapped to their InetSocketAddress representation.

0da5b8e block/ssh: Add InetSocketAddress and accept it
block/ssh.c | 98 +++++++++++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 82 insertions(+), 16 deletions(-)

Upstream: git.qemu.org


  • Share