Received: from eggs.gnu.org ([2001:4830:134:3::10]:37529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVzEB-0006p7-8Z for qemu-devel@nongnu.org; Tue, 24 Jan 2017 06:25:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVzE7-0007ZS-MN for qemu-devel@nongnu.org; Tue, 24 Jan 2017 06:25:30 -0500 Received: from mx-v6.kamp.de ([2a02:248:0:51::16]:53557 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 1cVzE7-0007Z8-EE for qemu-devel@nongnu.org; Tue, 24 Jan 2017 06:25:27 -0500 References: <0bb184fe-d348-a1d4-ac14-0f02f070c287@kamp.de> <20170119163845.GC16641@redhat.com> <8e98321f-70ce-f86a-37d3-de2c1a5f45bd@kamp.de> <20170119170355.GF16641@redhat.com> From: Peter Lieven Message-ID: Date: Tue, 24 Jan 2017 12:25:23 +0100 MIME-Version: 1.0 In-Reply-To: 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: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. Peter