]> git.proxmox.com Git - mirror_qemu.git/commit
block/ssh: Add InetSocketAddress and accept it
authorAshijeet Acharya <ashijeetacharya@gmail.com>
Tue, 25 Oct 2016 13:03:59 +0000 (18:33 +0530)
committerKevin Wolf <kwolf@redhat.com>
Mon, 31 Oct 2016 15:49:13 +0000 (16:49 +0100)
commit0da5b8ef5d81c3fab0ba560c7c2140da27309023
tree2065cd327009a041c6b3f0dfca8628617dcae11f
parent89cadc9dc0f7c6a48c243bf7d9ad983a9b667426
block/ssh: Add InetSocketAddress and accept it

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.

Signed-off-by: Ashijeet Acharya <ashijeetacharya@gmail.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/ssh.c