From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:43061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcH5w-0004XG-L1 for qemu-devel@nongnu.org; Sun, 18 Dec 2011 08:48:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RcH5v-0004Sx-Rr for qemu-devel@nongnu.org; Sun, 18 Dec 2011 08:48:04 -0500 Received: from mail-ee0-f45.google.com ([74.125.83.45]:56540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcH5v-0004Sq-LN for qemu-devel@nongnu.org; Sun, 18 Dec 2011 08:48:03 -0500 Received: by eekb45 with SMTP id b45so5179401eek.4 for ; Sun, 18 Dec 2011 05:48:02 -0800 (PST) Sender: Paolo Bonzini Message-ID: <4EEDEF11.3000708@redhat.com> Date: Sun, 18 Dec 2011 14:48:01 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1324183735-16930-1-git-send-email-ronniesahlberg@gmail.com> <1324183735-16930-2-git-send-email-ronniesahlberg@gmail.com> In-Reply-To: <1324183735-16930-2-git-send-email-ronniesahlberg@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ronnie Sahlberg Cc: kwolf@redhat.com, qemu-devel@nongnu.org On 12/18/2011 05:48 AM, Ronnie Sahlberg wrote: > This patch adds configuration variables for iSCSI to set > initiator-name to use when logging in to the target, > which type of header-digest to negotiate with the target > and username and password for CHAP authentication. > > This allows specifying a initiator-name either from the command line > -iscsi initiator-name=iqn.2004-01.com.example:test > or from a configuration file included with -readconfig > [iscsi] > initiator-name = iqn.2004-01.com.example:test > header-digest = CRC32C|CRC32C-NONE|NONE-CRC32C|NONE > user = CHAP username > password = CHAP password header digest and user look like they should be options to the block driver. For the password you can reuse the system used by qcow2 perhaps? Paolo