lkml.org 
[lkml]   [2014]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC 0/2] target: userspace pass-through backend
From
On Tue, Jul 1, 2014 at 9:11 PM, Andy Grover <agrover@redhat.com> wrote:
> Shaohua Li wrote an initial implementation of this, late last year[1].
> Starting from that, I started working on some alternate implementation
> choices, and ended up with something rather different.
>
> Please take a look and let me know what you think. Patch 1 is a
> design and overview doc, and patch 2 is the actual code, along with
> implementation rationale.
>
> Thanks -- Andy
>
> [1] http://thread.gmane.org/gmane.linux.scsi.target.devel/5044
>
> Andy Grover (2):
> target: Add documentation on the target userspace pass-through driver
> target: Add a user-passthrough backstore
>
> Documentation/target/tcmu-design.txt | 210 +++++++
> drivers/target/Kconfig | 5 +
> drivers/target/Makefile | 1 +
> drivers/target/target_core_transport.c | 4 +
> drivers/target/target_core_user.c | 1078 ++++++++++++++++++++++++++++++++
> drivers/target/target_core_user.h | 126 ++++
> 6 files changed, 1424 insertions(+)
> create mode 100644 Documentation/target/tcmu-design.txt
> create mode 100644 drivers/target/target_core_user.c
> create mode 100644 drivers/target/target_core_user.h

Hi Andy,
Just wanted to let you know that a userspace backstore would
potentially be useful for QEMU. QEMU supports a number of disk image
formats (VMDK, VHDX, qcow2, and more). Make these available as SCSI
LUNs on the host or to remote SCSI initiators is cool.

We currently have a tool called qemu-nbd that exports disk images
using the Network Block Device protocol. Your userspace backstore
provides other options like iSCSI target or loopback access on the
host.

I took a quick look at the patch and imagine it's not hard to hook up
to QEMU. Looks promising!

Stefan


\
 
 \ /
  Last update: 2014-07-14 17:41    [W:0.160 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site