Received: from eggs.gnu.org ([2001:4830:134:3::10]:50231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdEEd-0008Lp-Ro for qemu-devel@nongnu.org; Wed, 01 Apr 2015 04:42:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdEEZ-0004dq-Jy for qemu-devel@nongnu.org; Wed, 01 Apr 2015 04:42:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdEEZ-0004dZ-DB for qemu-devel@nongnu.org; Wed, 01 Apr 2015 04:42:47 -0400 From: Markus Armbruster References: <551AAD75.8090909@linux.vnet.ibm.com> <551B963E.9060800@gmail.com> <551BA5D1.8050002@redhat.com> Date: Wed, 01 Apr 2015 10:42:42 +0200 In-Reply-To: <551BA5D1.8050002@redhat.com> (Paolo Bonzini's message of "Wed, 01 Apr 2015 10:01:21 +0200") Message-ID: <87fv8kxmrh.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [qemu devel] disable shared memory is not available with this QEMU binary List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: marcel@redhat.com, Tony Krowiak , qemu-devel@nongnu.org, Andreas =?utf-8?Q?F=C3=A4rber?= Paolo Bonzini writes: > On 01/04/2015 08:54, Marcel Apfelbaum wrote: >> This is the first object for which QemuOps are defined per >> sub-type and are not global (if you don't take "object" under >> consideration). > > We can return the same QemuOpts that were included before. > Per-machine-type options are new and need not be covered by > query-command-line-options. The obvious way to return them is to put them right back in qemu_machine_opts.desc[]. But then -machine rejects machine-specific parameters. Hack: monkey-patch them in after we're done parsing. Cleaner: "empty desc[] means accept anything" has always been overly restrictive. Have a flag "accept additional parameters". We may have to do the former for 2.3, but that's no excuse not to replace it by something less gross in 2.4. [...]