Received: from eggs.gnu.org ([2001:4830:134:3::10]:41028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVzSz-0004Ap-NA for qemu-devel@nongnu.org; Tue, 24 Jan 2017 06:40:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVzSu-0005Lh-Nq for qemu-devel@nongnu.org; Tue, 24 Jan 2017 06:40:49 -0500 Received: from mx-v6.kamp.de ([2a02:248:0:51::16]:35991 helo=mx01.kamp.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cVzSu-0005KQ-ED for qemu-devel@nongnu.org; Tue, 24 Jan 2017 06:40:44 -0500 References: <0bb184fe-d348-a1d4-ac14-0f02f070c287@kamp.de> <20170119163845.GC16641@redhat.com> <8e98321f-70ce-f86a-37d3-de2c1a5f45bd@kamp.de> <20170119170355.GF16641@redhat.com> <539908e5-591a-e3fc-ebb8-f2867ef5e26c@redhat.com> From: Peter Lieven Message-ID: Date: Tue, 24 Jan 2017 12:40:39 +0100 MIME-Version: 1.0 In-Reply-To: <539908e5-591a-e3fc-ebb8-f2867ef5e26c@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qemu-img: complains about missing iscsi option group List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , "Daniel P. Berrange" Cc: Kevin Wolf , "qemu-devel@nongnu.org" , qemu block , Max Reitz Am 24.01.2017 um 12:29 schrieb Paolo Bonzini: > > On 24/01/2017 12:25, Peter Lieven wrote: >> Am 24.01.2017 um 12:24 schrieb Paolo Bonzini: >>> On 19/01/2017 18:03, Daniel P. Berrange wrote: >>>>>> Move the iscsi option registration out of vl.c and back into a >>>>>> shared file >>>>>> in block/ such that all programs see the options, not just the >>>>>> emulators. >>>>> Any preference which file? It seems no other block driver registers >>>>> options. >>>> ISCSI is somewhat bizarre in that it has a separate global -iscsi arg >>>> instead of just accepting all args via the -drive spec like every other >>>> block driver does, so there's no precedent to follow. >>>> >>>> So suggest we just need a block/iscsi-global.c to deal with this. >>> Why not block/iscsi.c itself? >> As far as I understand block/iscsi is now compiled as a shared object. > Uh, right. :( Okay, so a new file iscsi-static.c ? Peter