All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: "Marc-André Lureau" <marcandre.lureau@gmail.com>
Cc: QEMU <qemu-devel@nongnu.org>, Markus Armbruster <armbru@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 06/12] monitor: remove mhandler.cmd_new
Date: Fri, 24 Jun 2016 09:04:14 -0600	[thread overview]
Message-ID: <576D4BEE.8040403@redhat.com> (raw)
In-Reply-To: <CAJ+F1CJKafsXMd=GpcDEaRR-qZEgbGz8=u3T3+HgHLYKgzBGXA@mail.gmail.com>

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

On 06/24/2016 08:20 AM, Marc-André Lureau wrote:
> Hi
> 
> On Fri, Jun 24, 2016 at 6:39 AM, Eric Blake <eblake@redhat.com> wrote:
>> On 06/22/2016 06:08 PM, marcandre.lureau@redhat.com wrote:
>>> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>>>
>>> This is no longer necessary, now that middle mode has been removed.
>>>
>>> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
>>> ---
>>>  docs/writing-qmp-commands.txt |   8 +-
>>>  hmp-commands-info.hx          | 118 ++++++++++++------------
>>>  hmp-commands.hx               | 206 +++++++++++++++++++++---------------------
>>>  monitor.c                     |  11 +--
>>>  4 files changed, 168 insertions(+), 175 deletions(-)
>>
>> The changes to hmp-commands*.hx are mechanical; you may want to set up
>> git to order the diff so that more relevant files like monitor.c are
>> listed first.  Do that by 'git config diff.orderFile /path/to/file',
>> then in that file, listing globs in the order that you want to prioritize.
>>
> 
> Nice tip, didn't know about it. I wonder if it would be worth to have
> one in qemu source tree..

Maybe not: it still requires a local setting to be useful (the file
existing in-tree doesn't mean that 'git diff' will automatically know to
use it without users editing .git/config); having it version-controlled
means that the diff you list now may depend on the version of the file
in your tree now rather than the version at the time the patch was first
generated for some confusing results; and there are still cases where I
personally find that I don't necessarily want the same order as last
time (so I'm frequently tweaking my own order file according to the
series I'm currently posting).

Hmm - maybe it should get a mention on the SubmitAPatch wiki page, though.

-- 
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:[~2016-06-24 15:04 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-23  0:07 [Qemu-devel] [PATCH 00/12] qapi: remove the 'middle' mode marcandre.lureau
2016-06-23  0:07 ` [Qemu-devel] [PATCH 01/12] qapi-schema: use generated marshaller for 'qmp_capabilities' marcandre.lureau
2016-06-23 22:41   ` Eric Blake
2016-06-23  0:07 ` [Qemu-devel] [PATCH 02/12] qapi-schema: add 'device_add' marcandre.lureau
2016-06-24  3:52   ` Eric Blake
2016-06-23  0:08 ` [Qemu-devel] [PATCH 03/12] monitor: register gen:false commands manually marcandre.lureau
2016-06-24  4:02   ` Eric Blake
2016-06-23  0:08 ` [Qemu-devel] [PATCH 04/12] monitor: remove usage of generated marshal functions marcandre.lureau
2016-06-24  4:23   ` Eric Blake
2016-06-24 14:14     ` Marc-André Lureau
2016-06-24 14:59       ` Eric Blake
2016-06-23  0:08 ` [Qemu-devel] [PATCH 05/12] monitor: register the qapi generated commands marcandre.lureau
2016-06-23  4:38   ` Paolo Bonzini
2016-06-23  9:02     ` Marc-André Lureau
2016-06-24  4:31   ` Eric Blake
2016-06-24 14:17     ` Marc-André Lureau
2016-06-23  0:08 ` [Qemu-devel] [PATCH 06/12] monitor: remove mhandler.cmd_new marcandre.lureau
2016-06-24  4:39   ` Eric Blake
2016-06-24 14:20     ` Marc-André Lureau
2016-06-24 15:04       ` Eric Blake [this message]
2016-06-23  0:08 ` [Qemu-devel] [PATCH 07/12] monitor: implement 'qmp_query_commands' without qmp_cmds marcandre.lureau
2016-06-23  0:08 ` [Qemu-devel] [PATCH 08/12] build-sys: remove qmp-commands-old.h marcandre.lureau
2016-06-23  0:08 ` [Qemu-devel] [PATCH 09/12] qapi: remove the "middle" mode marcandre.lureau
2016-06-23  0:08 ` [Qemu-devel] [PATCH 10/12] monitor: use qmp_dispatch() marcandre.lureau
2016-06-23  0:08 ` [Qemu-devel] [PATCH 11/12] qmp: update qmp_query_spice fallback marcandre.lureau
2016-06-23  0:08 ` [Qemu-devel] [PATCH 12/12] Drop qmp-commands.hx marcandre.lureau

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=576D4BEE.8040403@redhat.com \
    --to=eblake@redhat.com \
    --cc=armbru@redhat.com \
    --cc=marcandre.lureau@gmail.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.