Received: from eggs.gnu.org ([2001:4830:134:3::10]:37159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVzCs-0005bW-Da for qemu-devel@nongnu.org; Tue, 24 Jan 2017 06:24:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVzCr-0007GM-JN for qemu-devel@nongnu.org; Tue, 24 Jan 2017 06:24:10 -0500 Sender: Paolo Bonzini References: <0bb184fe-d348-a1d4-ac14-0f02f070c287@kamp.de> <20170119163845.GC16641@redhat.com> <8e98321f-70ce-f86a-37d3-de2c1a5f45bd@kamp.de> <20170119170355.GF16641@redhat.com> From: Paolo Bonzini Message-ID: Date: Tue, 24 Jan 2017 12:24:02 +0100 MIME-Version: 1.0 In-Reply-To: <20170119170355.GF16641@redhat.com> Content-Type: text/plain; charset=utf-8 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: "Daniel P. Berrange" , Peter Lieven Cc: Kevin Wolf , "qemu-devel@nongnu.org" , qemu block , Max Reitz 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? Paolo