Received: from eggs.gnu.org ([2001:4830:134:3::10]:54627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uumk3-0001qL-FY for qemu-devel@nongnu.org; Thu, 04 Jul 2013 12:50:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uumk1-0001IE-I6 for qemu-devel@nongnu.org; Thu, 04 Jul 2013 12:50:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uumk1-0001Hu-6f for qemu-devel@nongnu.org; Thu, 04 Jul 2013 12:50:45 -0400 From: Markus Armbruster References: <1372943363-24081-1-git-send-email-armbru@redhat.com> <1372943363-24081-5-git-send-email-armbru@redhat.com> <87r4fetj01.fsf@blackfin.pond.sub.org> Date: Thu, 04 Jul 2013 18:50:41 +0200 In-Reply-To: (Peter Maydell's message of "Thu, 4 Jul 2013 17:03:51 +0100") Message-ID: <87sizugtge.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 4/7] Fix -machine options accel, kernel_irqchip, kvm_shadow_mem List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org Peter Maydell writes: > On 4 July 2013 16:58, Markus Armbruster wrote: >> Peter Maydell writes: >> >>> On 4 July 2013 14:09, Markus Armbruster wrote: >>>> Multiple -machine options with the same ID are merged. All but the >>>> one without an ID are to be silently ignored. >>> >>> I think it would make more sense just to say that specifying >>> id= for -machine (or any other merge_lists=true option type) >>> is not permitted. Or do you have a reason for wanting to >>> have more than one -machine? >> >> Adding even more options to QemuOpts is what I'd rather avoid; I find it >> ridiculous enough already. > > That's why I suggested that we should use the existing > merge_lists=true rather than adding another option. > >> But if y'all want one to outlaw -machine id=..., I can add it. > > Given that the latter half of this patchset seems to be dealing > with the fallout of letting the user specify -machine id= > it seems simpler just to say "don't do that". Outlawing -machine id=... turns those patches from fixes of exotic bugs into cleanup, of pretty much unchanged value.