From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:50598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIfhy-0002NQ-U4 for qemu-devel@nongnu.org; Thu, 21 Mar 2013 09:39:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIfhx-0005Uq-Mz for qemu-devel@nongnu.org; Thu, 21 Mar 2013 09:39:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIfhx-0005Ug-Fp for qemu-devel@nongnu.org; Thu, 21 Mar 2013 09:39:05 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r2LDd4Iw016570 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 21 Mar 2013 09:39:04 -0400 Received: from choo.home.annexia.org (vpn1-4-210.ams2.redhat.com [10.36.4.210]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r2LDd2YM024687 for ; Thu, 21 Mar 2013 09:39:03 -0400 From: "Richard W.M. Jones" Date: Thu, 21 Mar 2013 13:38:57 +0000 Message-Id: <1363873138-30568-1-git-send-email-rjones@redhat.com> Subject: [Qemu-devel] [PATCH] Add support for Secure Shell (ssh) block device. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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.