qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: kwolf@redhat.com, Dong Xu Wang <wdongxu@linux.vnet.ibm.com>,
	wdongxu@cn.ibm.com, armbru@redhat.com, qemu-devel@nongnu.org,
	stefanha@redhat.com
Subject: Re: [Qemu-devel] [PATCH V16 0/7] replace QEMUOptionParameter with QemuOpts parser
Date: Wed, 10 Jul 2013 00:05:58 +0200	[thread overview]
Message-ID: <51DC8946.5010606@suse.de> (raw)
In-Reply-To: <20130704125243.GE4213@stefanha-thinkpad.redhat.com>

Am 04.07.2013 14:52, schrieb Stefan Hajnoczi:
> On Tue, Jun 18, 2013 at 05:31:52PM +0800, Dong Xu Wang wrote:
>> These patches will replace QEMUOptionParameter with QemuOpts. Change logs
>> please go to each patch's commit message.
>>
>> Dong Xu Wang (7):
>>   add def_value_str in QemuOptDesc struct and rewrite qemu_opts_print
>>   avoid duplication of default value in QemuOpts
>>   Create four QemuOptsList related functions
>>   Create some QemuOpts functons
>>   Use QemuOpts support in block layer
>>   query-command-line-options outputs def_value_str
>>   remove QEMUOptionParameter related functions and struct
>>
>>  block.c                   | 100 ++++-----
>>  block/cow.c               |  52 ++---
>>  block/gluster.c           |  37 ++-
>>  block/iscsi.c             |  31 ++-
>>  block/qcow.c              |  67 +++---
>>  block/qcow2.c             | 199 ++++++++--------
>>  block/qed.c               | 108 +++++----
>>  block/qed.h               |   2 +-
>>  block/raw-posix.c         |  59 +++--
>>  block/raw-win32.c         |  31 +--
>>  block/raw.c               |  30 +--
>>  block/rbd.c               |  62 +++--
>>  block/sheepdog.c          |  81 ++++---
>>  block/ssh.c               |  29 ++-
>>  block/vdi.c               |  70 +++---
>>  block/vmdk.c              | 129 ++++++-----
>>  block/vpc.c               |  65 +++---
>>  block/vvfat.c             |  11 +-
>>  include/block/block.h     |   5 +-
>>  include/block/block_int.h |   6 +-
>>  include/qemu/option.h     |  56 ++---
>>  qapi-schema.json          |   5 +-
>>  qemu-img.c                |  65 +++---
>>  qmp-commands.hx           |   2 +
>>  util/qemu-config.c        |   4 +
>>  util/qemu-option.c        | 562 +++++++++++++++++++++-------------------------
>>  26 files changed, 906 insertions(+), 962 deletions(-)
>>
>> -- 
>> V15->V16:
>> 1) discard double-initialization.
>> 2) use pointer directly, not g_strdup.
>> 3) modify query-command-line-options related code.
>> V14->V15:
>> 1) Only delete enum QEMUOptionParType.
> 
> eblake: You commented on the last revision.  Are you happy with v16?

I'd be happier if the first part would get a clear "qemu-option" prefix
or so and a "block" prefix for 5/7 etc., if you're planning to take that
through your block tree. ;)

And I can predict that Eric wants a "(since 1.6)" marker on 6/7. :)

Didn't review the larger ones in-depth myself though.

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

      parent reply	other threads:[~2013-07-09 22:06 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-18  9:31 [Qemu-devel] [PATCH V16 0/7] replace QEMUOptionParameter with QemuOpts parser Dong Xu Wang
2013-06-18  9:31 ` [Qemu-devel] [PATCH V16 1/7] add def_value_str in QemuOptDesc struct and rewrite qemu_opts_print Dong Xu Wang
2013-06-18  9:31 ` [Qemu-devel] [PATCH V16 2/7] avoid duplication of default value in QemuOpts Dong Xu Wang
2013-06-18  9:31 ` [Qemu-devel] [PATCH V16 3/7] Create four QemuOptsList related functions Dong Xu Wang
2013-07-10 16:07   ` Eric Blake
2013-06-18  9:31 ` [Qemu-devel] [PATCH V16 4/7] Create some QemuOpts functons Dong Xu Wang
2013-07-10 16:51   ` Eric Blake
2013-07-10 19:06   ` Eric Blake
2013-06-18  9:31 ` [Qemu-devel] [PATCH V16 5/7] Use QemuOpts support in block layer Dong Xu Wang
2013-07-10 17:56   ` Eric Blake
2013-07-10 19:47   ` Eric Blake
2013-06-18  9:31 ` [Qemu-devel] [PATCH V16 6/7] query-command-line-options outputs def_value_str Dong Xu Wang
2013-07-10 19:56   ` Eric Blake
2013-06-18  9:31 ` [Qemu-devel] [PATCH V16 7/7] remove QEMUOptionParameter related functions and struct Dong Xu Wang
2013-07-10 19:57   ` Eric Blake
2013-07-04 12:52 ` [Qemu-devel] [PATCH V16 0/7] replace QEMUOptionParameter with QemuOpts parser Stefan Hajnoczi
2013-07-09 20:41   ` Eric Blake
2013-07-10 19:49     ` Eric Blake
2013-07-15  7:38       ` Dong Xu Wang
2013-07-09 22:05   ` Andreas Färber [this message]

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=51DC8946.5010606@suse.de \
    --to=afaerber@suse.de \
    --cc=armbru@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    --cc=stefanha@redhat.com \
    --cc=wdongxu@cn.ibm.com \
    --cc=wdongxu@linux.vnet.ibm.com \
    /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).