Re: [Qemu-block] [PATCH] qapi: allow blockdev-add for ssh

2016-10-10 Thread Ashijeet Acharya
On Mon, Oct 10, 2016 at 6:23 PM, Kevin Wolf wrote: > Am 10.10.2016 um 13:54 hat Ashijeet Acharya geschrieben: >> On Mon, Oct 10, 2016 at 5:01 PM, Kevin Wolf wrote: >> > Your .bdrv_open() callback in ssh gets these options as keys in >> > QDict *options, using

Re: [Qemu-block] [PATCH] qapi: allow blockdev-add for ssh

2016-10-10 Thread Kevin Wolf
Am 10.10.2016 um 13:54 hat Ashijeet Acharya geschrieben: > On Mon, Oct 10, 2016 at 5:01 PM, Kevin Wolf wrote: > > Your .bdrv_open() callback in ssh gets these options as keys in > > QDict *options, using the dot syntax. options might look like this > > (using "key" = "value" for

Re: [Qemu-block] [PATCH] qapi: allow blockdev-add for ssh

2016-10-10 Thread Kevin Wolf
Am 10.10.2016 um 12:48 hat Ashijeet Acharya geschrieben: > On Mon, Oct 10, 2016 at 2:45 PM, Kevin Wolf wrote: > > Am 08.10.2016 um 12:44 hat Ashijeet Acharya geschrieben: > >> +{ 'struct': 'BlockdevoptionsSsh', > >> + 'data': { 'server': 'InetSocketAddress', > >> +

Re: [Qemu-block] [PATCH] qapi: allow blockdev-add for ssh

2016-10-10 Thread Ashijeet Acharya
On Mon, Oct 10, 2016 at 2:45 PM, Kevin Wolf wrote: > Am 08.10.2016 um 12:44 hat Ashijeet Acharya geschrieben: >> Introduce new object 'BlockdevOptionsSsh' in qapi/block-core.json to >> support blockdev-add for SSH network protocol driver. Use only 'struct >> InetSocketAddress'

Re: [Qemu-block] [PATCH] qapi: allow blockdev-add for ssh

2016-10-10 Thread Kevin Wolf
Am 08.10.2016 um 12:44 hat Ashijeet Acharya geschrieben: > 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

Re: [Qemu-block] [PATCH] qapi: allow blockdev-add for ssh

2016-10-08 Thread Ashijeet Acharya
On Sat, Oct 8, 2016 at 4:24 PM, Richard W.M. Jones wrote: > On Sat, Oct 08, 2016 at 04:14:06PM +0530, Ashijeet Acharya wrote: >> Introduce new object 'BlockdevOptionsSsh' in qapi/block-core.json to >> support blockdev-add for SSH network protocol driver. Use only 'struct >>

Re: [Qemu-block] [PATCH] qapi: allow blockdev-add for ssh

2016-10-08 Thread Richard W.M. Jones
On Sat, Oct 08, 2016 at 04:14:06PM +0530, Ashijeet Acharya wrote: > 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. > > +## > +#

[Qemu-block] [PATCH] qapi: allow blockdev-add for ssh

2016-10-08 Thread Ashijeet Acharya
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 --- qapi/block-core.json | 24