All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Amos Kong <akong@redhat.com>, qemu-devel@nongnu.org
Cc: pbonzini@redhat.com, afaerber@suse.de, libvirt-list@redhat.com,
	anthony@codemonkey.ws, armbru@redhat.com
Subject: Re: [Qemu-devel] [PATCH v3 for 2.0] update names in option tables to match with actual command-line spelling
Date: Thu, 20 Mar 2014 14:57:35 -0600	[thread overview]
Message-ID: <532B563F.7090007@redhat.com> (raw)
In-Reply-To: <1395320855-5293-1-git-send-email-akong@redhat.com>

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

On 03/20/2014 07:07 AM, Amos Kong wrote:
> We want to establish a mapping between option name and option table,
> then we can search related option table by option name.
> 
> This patch makes all the member name of QemuOptsList to match with
> actual command-line spelling(option name).
> 
> [ Important Note ]
> 
> The QemuOptsList member name values are ABI, changing them can break
> existing -readconfig configuration files.
> 
> This patch changes:
> 
>     from        to          introduced in
>     acpi        acpitable   0c764a9 v1.5.0
>     boot-opts   boot        3d3b830 v1.0
>     smp-opts    smp         12b7f57 v1.6.0
> 
> All three have calcified into ABI already.
> 
> I have updated the release note of 2.0
> http://wiki.qemu.org/ChangeLog/2.0#ABI_breaking
> 
> Signed-off-by: Amos Kong <akong@redhat.com>
> ---

The benefit of this patch is that 'query-command-line-options' gains a
fix where three bogus entries are replaced by their actual command line
spelling.  The drawback is that anyone that doesn't pay attention to the
ABI break announcement, and expects -readconfig and friends to work
while using the old spelling, is in for a surprise.  But since we have
prominently documented the change, and since consistency makes life
nicer, I'm in favor of this patch.

Reviewed-by: Eric Blake <eblake@redhat.com>

-- 
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:[~2014-03-20 20:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-20 13:07 [Qemu-devel] [PATCH v3 for 2.0] update names in option tables to match with actual command-line spelling Amos Kong
2014-03-20 20:57 ` Eric Blake [this message]
2014-03-26 16:12   ` Markus Armbruster
2014-03-27  2:16     ` Amos Kong
2014-03-27  4:43       ` Amos Kong

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=532B563F.7090007@redhat.com \
    --to=eblake@redhat.com \
    --cc=afaerber@suse.de \
    --cc=akong@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=armbru@redhat.com \
    --cc=libvirt-list@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.