From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=40297 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pqpob-00016W-4l for qemu-devel@nongnu.org; Sat, 19 Feb 2011 11:37:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pqpoa-00020s-38 for qemu-devel@nongnu.org; Sat, 19 Feb 2011 11:37:49 -0500 Received: from mail-yw0-f45.google.com ([209.85.213.45]:43532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqpoZ-00020o-Vs for qemu-devel@nongnu.org; Sat, 19 Feb 2011 11:37:48 -0500 Received: by ywa8 with SMTP id 8so2191281ywa.4 for ; Sat, 19 Feb 2011 08:37:47 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1296794276-1683-1-git-send-email-ronniesahlberg@gmail.com> References: <1296794276-1683-1-git-send-email-ronniesahlberg@gmail.com> Date: Sat, 19 Feb 2011 16:37:46 +0000 Message-ID: Subject: Re: [Qemu-devel] iSCSI block driver support From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: ronniesahlberg@gmail.com Cc: qemu-devel@nongnu.org On Fri, Feb 4, 2011 at 4:37 AM, wrote: > The following patch adds a new block driver to QEMU/KVM for iSCSI. > This utilizes the userspace client library for iscsi at https://github.com/sahlberg/libiscsi and will link with this library if available. > > This allows using iSCSI resources with QEMU/KVM without making them visible to the underlying host. Which is very useful when having very large number of iscsi devices, or when you for other reasons do not want to expose these devicdes to others. > > > I have used this patch and installed a RHEL6 system from an iscsi dvd onto a iscsi disk. I have done extensive testing. > Both normally and also running under valgrind (which is very slow) > > ./x86_64-softmmu/qemu-system-x86_64 -m 1024 --enable-kvm -cdrom iscsi://127.0.0.1:3262/iqn.ronnie.test/2 -drive if=virtio,file=iscsi://127.0.0.1:3262/iqn.ronnie.test/1 -boot c I have successfully installed RHEL6 from IDE CD-ROM to an iSCSI LUN and was able to boot from it. Both --enable-io-thread and without seem to work. Stefan