Received: from eggs.gnu.org ([2001:4830:134:3::10]:60338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKOPg-00055O-D7 for qemu-devel@nongnu.org; Thu, 21 Aug 2014 05:12:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKOPa-0004rG-9V for qemu-devel@nongnu.org; Thu, 21 Aug 2014 05:12:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKOPa-0004rA-2h for qemu-devel@nongnu.org; Thu, 21 Aug 2014 05:12:02 -0400 Date: Thu, 21 Aug 2014 17:12:15 +0800 From: Fam Zheng Message-ID: <20140821091215.GO2943@T430.nay.redhat.com> References: <1408528887-22200-1-git-send-email-famz@redhat.com> <1408528887-22200-7-git-send-email-famz@redhat.com> <53F4A363.5020904@redhat.com> <20140821035426.GK2943@T430.nay.redhat.com> <53F5B58C.3090109@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53F5B58C.3090109@redhat.com> Subject: Re: [Qemu-devel] [PATCH 6/6] iscsi: Move iqn generation code to util List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: kwolf@redhat.com, mjt@tls.msk.ru, qemu-devel@nongnu.org, stefanha@redhat.com On Thu, 08/21 11:02, Paolo Bonzini wrote: > Il 21/08/2014 05:54, Fam Zheng ha scritto: > >> > In any case, if we need it I think there's no need to keep the argument > >> > to iqn_generate. > > How about multiple initiators? Should they use the same iqn? > > block/iscsi.c uses -iscsi for the options so that you don't have to > place them in cleartext in the command line (instead you can use a > -readconfig file and delete them). user and password can be included in > the URL as well, though, and we could add an initiator-name option to > the iscsi driver to be used with qemu-img/qemu-io. > > The default would remain to always use the same iqn. > Makes sense to me. Thanks, Fam