qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 1/1] iscsi: add iSCSI block device support
@ 2010-11-21 22:17 ronnie sahlberg
  2010-11-21 23:13 ` FUJITA Tomonori
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: ronnie sahlberg @ 2010-11-21 22:17 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Hannes Reinecke, Nicholas A. Bellinger

List,

Please find attached a gzipped patch against master that adds support of iSCSI.
It is sent in gz format because of its uncompressed size, >100kb.


This patch adds support for attaching directorly to iSCSI resources,
both DISK/SBC and CDROM/MMC, without the need to make the devices
visible to the host.

There are two parts to this support :

./block/iscsi/* : This is a fully async iscsi initiator client
library. This directory does not contain any QEMU specific code with
the hope it can later be re-used by other projects that also need
iscsi-initiator functionality.

./block/iscsi.c : The QEMU block driver that intergrates the
iscsi-initiator library with QEMU.


The iscsi library is incomplete, but sufficient to interoperate with
TGTD. With trivial enhancements(target-NOP) it should work with most
other targets too.

The goal is to expand the library to add more features over time, so
that over time it will become a full-blown iscsi initiator
implementation as a library.

Some features that should be added are
* support for target initiated NOP.  TGTD does not use these but some
other targets do.
* support for uni- and bi-directional CHAP authentication.
* additional iscsi functionality

The syntax to specify a iscsi resource is
   iscsi://<host>[:port]/<target-iqn-name>/<lun>

Example :
   -drive file=iscsi://127.0.0.1:3260/iqn.ronnie.test/1

  -cdrom iscsi://127.0.0.1:3260/iqn.ronnie.test/2


Please review and/or commit.


regards
ronnie sahlberg

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-11-25  9:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-21 22:17 [Qemu-devel] [PATCH 1/1] iscsi: add iSCSI block device support ronnie sahlberg
2010-11-21 23:13 ` FUJITA Tomonori
2010-11-21 23:39   ` ronnie sahlberg
2010-11-22  9:27 ` [Qemu-devel] " Kevin Wolf
2010-11-24 17:04 ` [Qemu-devel] " Christoph Hellwig
2010-11-24 19:14   ` Stefan Hajnoczi
2010-11-25  4:32     ` Nicholas A. Bellinger
2010-11-25  5:22       ` ronnie sahlberg
2010-11-25  9:30         ` Kevin Wolf

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).