From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:40550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RD0GS-0000NW-TZ for qemu-devel@nongnu.org; Sun, 09 Oct 2011 16:46:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RD0GR-0007TY-W5 for qemu-devel@nongnu.org; Sun, 09 Oct 2011 16:46:28 -0400 Received: from mail-vx0-f173.google.com ([209.85.220.173]:51516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RD0GR-0007TU-Th for qemu-devel@nongnu.org; Sun, 09 Oct 2011 16:46:27 -0400 Received: by vcbfl10 with SMTP id fl10so4983741vcb.4 for ; Sun, 09 Oct 2011 13:46:26 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20110929065403.GA3594@stefanha-thinkpad.localdomain> References: <1316597875-30463-1-git-send-email-ronniesahlberg@gmail.com> <1316597875-30463-2-git-send-email-ronniesahlberg@gmail.com> <20110929065403.GA3594@stefanha-thinkpad.localdomain> Date: Mon, 10 Oct 2011 07:46:26 +1100 Message-ID: From: ronnie sahlberg Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: kwolf@redhat.com, dlaor@redhat.com, qemu-devel@nongnu.org, fujita.tomonori@lab.ntt.co.jp, owasserm@redhat.com, pbonzini@redhat.com, hch@lst.de ping? On Thu, Sep 29, 2011 at 4:54 PM, Stefan Hajnoczi wrote: > On Wed, Sep 21, 2011 at 07:37:55PM +1000, Ronnie Sahlberg wrote: >> This provides built-in support for iSCSI to QEMU. >> This has the advantage that the iSCSI devices need not be made visible t= o the host, which is useful if you have very many virtual machines and very= many iscsi devices. >> It also has the benefit that non-root users of QEMU can access iSCSI dev= ices across the network without requiring root privilege on the host. >> >> This driver interfaces with the multiplatform posix library for iscsi in= itiator/client access to iscsi devices hosted at >> =A0 =A0 git://github.com/sahlberg/libiscsi.git >> >> The patch adds the driver to interface with the iscsi library. >> It also updated the configure script to >> * by default, probe is libiscsi is available and if so, build >> =A0 qemu against libiscsi. >> * --enable-libiscsi >> =A0 Force a build against libiscsi. If libiscsi is not available >> =A0 the build will fail. >> * --disable-libiscsi >> =A0 Do not link against libiscsi, even if it is available. >> >> When linked with libiscsi, qemu gains support to access iscsi resources = such as disks and cdrom directly, without having to make the devices visibl= e to the host. >> >> You can specify devices using a iscsi url of the form : >> iscsi://[[:@]][:/ >> When using authentication, the password can optionally be set with >> LIBISCSI_CHAP_PASSWORD=3D"password" to avoid it showing up in the proces= s list >> >> Signed-off-by: Ronnie Sahlberg >> --- >> =A0Makefile.objs | =A0 =A01 + >> =A0block/iscsi.c | =A0596 ++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++ >> =A0configure =A0 =A0 | =A0 31 +++ >> =A0trace-events =A0| =A0 =A07 + >> =A04 files changed, 635 insertions(+), 0 deletions(-) >> =A0create mode 100644 block/iscsi.c > > Reviewed-by: Stefan Hajnoczi >