qapi: allow blockdev-add for ssh
authorAshijeet Acharya <ashijeetacharya@gmail.com>
Tue, 25 Oct 2016 13:04:01 +0000 (18:34 +0530)
committerKevin Wolf <kwolf@redhat.com>
Mon, 31 Oct 2016 15:49:13 +0000 (16:49 +0100)
commitad0e90a682280030af81ece502715f64232706db
tree998d1f6ec53829ce1e9ce1144a1dad84e8cf800f
parent1059f1bb42928e925f7dacb85da157a6e99c20ea
qapi: allow blockdev-add for ssh

Introduce new object 'BlockdevOptionsSsh' in qapi/block-core.json to
support blockdev-add for SSH network protocol driver. Use only 'struct
InetSocketAddress' since SSH only supports connection over TCP.

Signed-off-by: Ashijeet Acharya <ashijeetacharya@gmail.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
[ kwolf: Removed host_key_check option, we want to expose this later in
  a structured way rather than as a string that must be parsed ]
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qapi/block-core.json