qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Richard W.M. Jones" <rjones@redhat.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] Add support for Secure Shell (ssh) block device.
Date: Thu, 21 Mar 2013 13:38:57 +0000	[thread overview]
Message-ID: <1363873138-30568-1-git-send-email-rjones@redhat.com> (raw)

This is a fun little patch which adds an ssh-based block device.
Nearly every Unix/Linux server runs an ssh daemon.  This new block
device lets qemu ssh into those servers and use files on those servers
as disks:

 qemu-system-x86_64 -m 512 \
    -drive file=ssh://rjones@onuma/mnt/scratch/f15x32.img,if=virtio

If you want to test this, note that you will need to have ssh-agent
set up so there is passwordless access from your local machine to the
remote account.  Krb5 and other authentication methods (probably)
won't work.

I have tested with a couple of Windows and Linux guest images,
successfully booting and using those disks which are located on a
remote RHEL server over 100 Mbps ethernet.  Disk speed is reasonable
though not exactly fast.

It's not ready to be applied as it would be nice to fix the "easy to
fix" problems noted in the commit message.  Nevertheless I'd
appreciate an initial review.

Also: Is there any documentation on how coroutines / AIO work? (apart
from reading the code, which I've been doing)

Rich.

             reply	other threads:[~2013-03-21 13:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-21 13:38 Richard W.M. Jones [this message]
2013-03-21 13:38 ` [Qemu-devel] [PATCH] block: Add support for Secure Shell (ssh) block device Richard W.M. Jones
2013-03-21 15:26   ` Stefan Hajnoczi
2013-03-21 15:39     ` Richard W.M. Jones
2013-03-21 19:29       ` Stefan Hajnoczi
2013-03-21 19:35   ` Stefan Hajnoczi
2013-03-21 20:31     ` Richard W.M. Jones
2013-03-22 13:04     ` [Qemu-devel] [PATCH] block/curl: Add support for Secure Shell (ssh/sftp) " Richard W.M. Jones
2013-03-22 13:41       ` Stefan Hajnoczi
2013-03-25 12:32       ` Richard W.M. Jones
2013-03-25 13:12         ` Stefan Hajnoczi
2013-03-25 14:36   ` [Qemu-devel] [PATCH] block: Add support for Secure Shell (ssh) " Kevin Wolf
2013-03-25 15:11     ` Richard W.M. Jones
2013-03-26  9:37       ` Stefan Hajnoczi

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=1363873138-30568-1-git-send-email-rjones@redhat.com \
    --to=rjones@redhat.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).