qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Marcel Apfelbaum <marcel@redhat.com>, qemu-devel@nongnu.org
Cc: pbonzini@redhat.com, akrowiak@linux.vnet.ibm.com, armbru@redhat.com
Subject: Re: [Qemu-devel] [PATCH for-2.3] util/qemu-config" fix regression of qmp_query_command_line_options
Date: Wed, 01 Apr 2015 10:30:52 -0600	[thread overview]
Message-ID: <551C1D3C.30908@redhat.com> (raw)
In-Reply-To: <551C0C02.3050003@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1351 bytes --]

On 04/01/2015 09:17 AM, Eric Blake wrote:
> On 04/01/2015 08:08 AM, Marcel Apfelbaum wrote:
>> Commit 49d2e64 (machine: remove qemu_machine_opts global list) made
>> machine machine options specific to machine sub-type, leaving
> 
> At the risk of sounding like a machine: s/machine machine/machine/
> 
>> the qemu_machine_opts desc array empty. Sadly this is the place
>> qmp_query_command_line_options is looking for supported options.
>>
>> As a fix for for 2.3 the machine_qemu_opts are restored only
>> for the scope of qemu-config, bringing together all machines
> 
> s/machines/machines'/
> 
>> properties. We need to find a better fix for 2.4.

As discussed on the other thread, we may want a v2:


> I also tested that query-command-line-options on qemu.git + this patch
> provided a superset of the options exposed by
> 2:qemu-system-x86-2.1.3-3.fc21.x86_64 as installed on Fedora 21, while
> without this patch it had no options.

The problem is that the superset includes per-machine options, even for
machines where they don't apply.  I think it's better for 2.3 to be
conservative (advertise no less than before, so we don't regress) than
to lie (advertising something we don't support is risky).

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

  reply	other threads:[~2015-04-01 16:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-01 14:08 [Qemu-devel] [PATCH for-2.3] util/qemu-config" fix regression of qmp_query_command_line_options Marcel Apfelbaum
2015-04-01 14:13 ` Marcel Apfelbaum
2015-04-01 18:41   ` Tony Krowiak
2015-04-01 15:17 ` Eric Blake
2015-04-01 16:30   ` Eric Blake [this message]
2015-04-01 16:49     ` Marcel Apfelbaum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=551C1D3C.30908@redhat.com \
    --to=eblake@redhat.com \
    --cc=akrowiak@linux.vnet.ibm.com \
    --cc=armbru@redhat.com \
    --cc=marcel@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).