All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Richard W.M. Jones" <rjones@redhat.com>
To: Kevin Wolf <kwolf@redhat.com>
Cc: "Daniel P. Berrange" <berrange@redhat.com>,
	qemu-block@nongnu.org, QEMU Developers <qemu-devel@nongnu.org>,
	Ashijeet Acharya <ashijeetacharya@gmail.com>
Subject: Re: [Qemu-devel] [Qemu-block] block/ssh:Allow blockdev-add for ssh
Date: Thu, 29 Sep 2016 12:59:05 +0100	[thread overview]
Message-ID: <20160929115905.GS26315@redhat.com> (raw)
In-Reply-To: <20160929113635.GK5742@noname.redhat.com>

On Thu, Sep 29, 2016 at 01:36:35PM +0200, Kevin Wolf wrote:
> But the ssh client doesn't seem to support connection to that Unix domain
> socket, even if it would be possible to support in theory. And probably
> none of the SSH libraries that we consider to use support it either (but
> I haven't checked that).

So I checked this.  libssh2 (which is the one we're using) does
not appear to support AF_UNIX for the ssh connection.

We should most likely change over the libssh which is a better
library.  That library does in fact support AF_UNIX connections
through the ssh_socket_unix API, although that's of dubious utility
considering that almost no one runs an sshd listening on a Unix domain
socket.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v

  reply	other threads:[~2016-09-29 11:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-29  7:35 [Qemu-devel] block/ssh:Allow blockdev-add for ssh Ashijeet Acharya
2016-09-29  8:07 ` Richard W.M. Jones
2016-09-29 10:42   ` [Qemu-devel] [Qemu-block] " Kevin Wolf
2016-09-29 11:07     ` Daniel P. Berrange
2016-09-29 11:15       ` Kevin Wolf
2016-09-29 11:22     ` Daniel P. Berrange
2016-09-29 11:36       ` Kevin Wolf
2016-09-29 11:59         ` Richard W.M. Jones [this message]
2016-09-29 14:07           ` Ashijeet Acharya
2016-09-29 15:02             ` Kevin Wolf
2016-09-29 18:32               ` Ashijeet Acharya

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160929115905.GS26315@redhat.com \
    --to=rjones@redhat.com \
    --cc=ashijeetacharya@gmail.com \
    --cc=berrange@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.