qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] block/ssh:Allow blockdev-add for ssh


From: Richard W.M. Jones
Subject: Re: [Qemu-block] block/ssh:Allow blockdev-add for ssh
Date: Thu, 29 Sep 2016 09:07:47 +0100
User-agent: Mutt/1.5.20 (2009-12-10)

On Thu, Sep 29, 2016 at 01:05:48PM +0530, Ashijeet Acharya wrote:
> Hi all,
> 
> I was trying to convert SSH driver to support 'blockdev-add' and so
> far I have tried to figure out what the struct 'BlockdevOptionsSsh' in
> block-core.json should look like,
> 
> { 'struct': 'BlockdevOptionsSsh',
>   'data': { 'tcp': 'InetSocketAddress',
>              'path': 'str' } }
> 
> Naive question but I have to ask, Am I missing something?
> 
> As far as I know, ssh only supports 'tcp' right? So using
> 'InetSocketAddress' should be good enough. (like the TODO says)
> 
> I had a discussion with Kevin about this and he thinks, maybe
> 'SocketAddress' can be used too because the restriction comes from the
> qemu block driver rather than the backend. He advised me to get an
> opinion on this one from the maintainers of SSH.

I have no idea.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW



reply via email to

[Prev in Thread] Current Thread [Next in Thread]