All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: qemu-devel@nongnu.org
Cc: armbru@redhat.com
Subject: [Qemu-devel] [PATCH v5 00/10] qapi-related cleanups
Date: Thu, 27 Apr 2017 16:58:11 -0500	[thread overview]
Message-ID: <20170427215821.19397-1-eblake@redhat.com> (raw)

This is a subset of my earlier post "Rip out dynamic JSON parsing"[1],
and then a rebase of that work onto master.  It is available here:

git fetch git://repo.or.cz/qemu/ericb.git qapi-dynamic-json-v5

the tag name is a bit of a misnomer for the current series, but is
historically accurate.

Since v4 [2], I've addressed the minor review comments:
- drop unneeded '.' in comments [Markus]
- merge 3 patches into one, since the artifical split between patches
was not nice, and since it's all automated anyway [Markus]
- rebase to master (Coccinelle found more places that could be improved)
- add R-b tags

This will probably be a conflict magnet the longer it is not applied
(conversely, since it is now generated by Coccinelle, it will be a lot
easier to regenerate the series if another round of rebasing is needed).

[1] https://lists.gnu.org/archive/html/qemu-devel/2016-11/msg05425.html
[2] https://lists.gnu.org/archive/html/qemu-devel/2017-04/msg01970.html

001/10:[----] [--] 'pci: Use struct instead of QDict to pass back parameters'
002/10:[----] [--] 'pci: Reduce scope of error injection'
003/10:[----] [--] 'coccinelle: Add script to remove useless QObject casts'
004/10:[----] [--] 'qobject: Drop useless QObject casts'
005/10:[0004] [FC] 'qobject: Add helper macros for common scalar insertions'
006/10:[0380] [FC] 'qobject: Use simpler QDict/QList scalar insertion macros'
007/10:[----] [--] 'block: Simplify bdrv_append_temp_snapshot() logic'
008/10:[----] [--] 'QemuOpts: Simplify qemu_opts_to_qdict()'
009/10:[----] [--] 'fdc-test: Avoid deprecated 'change' command'
010/10:[----] [--] 'test-qga: Actually test 0xff sync bytes'

Eric Blake (10):
  pci: Use struct instead of QDict to pass back parameters
  pci: Reduce scope of error injection
  coccinelle: Add script to remove useless QObject casts
  qobject: Drop useless QObject casts
  qobject: Add helper macros for common scalar insertions
  qobject: Use simpler QDict/QList scalar insertion macros
  block: Simplify bdrv_append_temp_snapshot() logic
  QemuOpts: Simplify qemu_opts_to_qdict()
  fdc-test: Avoid deprecated 'change' command
  test-qga: Actually test 0xff sync bytes

 include/hw/pci/pcie_aer.h           |   4 -
 include/qapi/qmp/qdict.h            |   8 ++
 include/qapi/qmp/qlist.h            |   8 ++
 block.c                             |  70 +++++++-----------
 block/blkdebug.c                    |   8 +-
 block/blkverify.c                   |  11 ++-
 block/curl.c                        |   2 +-
 block/file-posix.c                  |   8 +-
 block/file-win32.c                  |   4 +-
 block/nbd.c                         |  41 +++++------
 block/nfs.c                         |  43 +++++------
 block/null.c                        |   2 +-
 block/qcow2.c                       |   4 +-
 block/quorum.c                      |  16 ++--
 block/rbd.c                         |  16 ++--
 block/snapshot.c                    |   2 +-
 block/ssh.c                         |  16 ++--
 block/vvfat.c                       |  10 +--
 block/vxhs.c                        |   6 +-
 blockdev.c                          |  30 ++++----
 hw/block/xen_disk.c                 |   2 +-
 hw/pci/pcie_aer.c                   |  48 +++++++-----
 hw/usb/xen-usb.c                    |  12 +--
 monitor.c                           |  23 +++---
 qapi/qmp-event.c                    |   2 +-
 qemu-img.c                          |   6 +-
 qemu-io.c                           |   2 +-
 qemu-nbd.c                          |   2 +-
 qobject/qdict.c                     |   2 +-
 target/s390x/cpu_models.c           |   4 +-
 tests/check-qdict.c                 | 142 ++++++++++++++++++------------------
 tests/check-qlist.c                 |   4 +-
 tests/device-introspect-test.c      |   4 +-
 tests/fdc-test.c                    |   8 +-
 tests/libqtest.c                    |   8 ++
 tests/test-qemu-opts.c              |   4 +-
 tests/test-qga.c                    |  34 +++++++--
 tests/test-qmp-commands.c           |  30 ++++----
 tests/test-qmp-event.c              |  30 ++++----
 tests/test-qobject-output-visitor.c |   6 +-
 util/qemu-option.c                  |   6 +-
 MAINTAINERS                         |   1 +
 scripts/coccinelle/qobject.cocci    |  35 +++++++++
 43 files changed, 385 insertions(+), 339 deletions(-)
 create mode 100644 scripts/coccinelle/qobject.cocci

-- 
2.9.3

             reply	other threads:[~2017-04-27 21:58 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-27 21:58 Eric Blake [this message]
2017-04-27 21:58 ` [Qemu-devel] [PATCH v5 01/10] pci: Use struct instead of QDict to pass back parameters Eric Blake
2017-04-27 21:58 ` [Qemu-devel] [PATCH v5 02/10] pci: Reduce scope of error injection Eric Blake
2017-04-27 21:58 ` [Qemu-devel] [PATCH v5 03/10] coccinelle: Add script to remove useless QObject casts Eric Blake
2017-04-27 21:58 ` [Qemu-devel] [PATCH v5 04/10] qobject: Drop " Eric Blake
2017-04-27 21:58 ` [Qemu-devel] [PATCH v5 05/10] qobject: Add helper macros for common scalar insertions Eric Blake
2017-04-27 21:58 ` [Qemu-devel] [PATCH v5 06/10] qobject: Use simpler QDict/QList scalar insertion macros Eric Blake
2017-04-28  8:33   ` Markus Armbruster
2017-04-28  8:33   ` Markus Armbruster
2017-05-02 15:56     ` Stefan Hajnoczi
2017-05-02 15:56       ` Stefan Hajnoczi
2017-05-02 16:26       ` Markus Armbruster
2017-05-02 16:26       ` Markus Armbruster
     [not found]     ` <e95da4dd-ae83-ea7b-73bb-849a88e8e049@suse.com>
2017-05-02 17:30       ` [Qemu-devel] [Research] Strato HiDrive as a Dropbox Replacement? Michal Suchánek
2017-05-08 14:48     ` [Qemu-devel] [PATCH v5 06/10] qobject: Use simpler QDict/QList scalar insertion macros Alberto Garcia
2017-05-08 14:48       ` Alberto Garcia
2017-05-09  7:14       ` Markus Armbruster
2017-05-09  7:14       ` Markus Armbruster
2017-04-27 21:58 ` Eric Blake
2017-04-27 21:58 ` [Qemu-devel] [PATCH v5 07/10] block: Simplify bdrv_append_temp_snapshot() logic Eric Blake
2017-04-27 21:58 ` [Qemu-devel] [PATCH v5 08/10] QemuOpts: Simplify qemu_opts_to_qdict() Eric Blake
2017-04-27 21:58 ` [Qemu-devel] [PATCH v5 09/10] fdc-test: Avoid deprecated 'change' command Eric Blake
2017-04-27 21:58 ` [Qemu-devel] [PATCH v5 10/10] test-qga: Actually test 0xff sync bytes Eric Blake
2017-05-02 16:46   ` Michael Roth
2017-05-02 16:56     ` Michael Roth
2017-05-03  8:57       ` Markus Armbruster
2017-05-03 19:52         ` Michael Roth
2017-05-04  7:23           ` Markus Armbruster
2017-05-04 13:16             ` Eric Blake

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=20170427215821.19397-1-eblake@redhat.com \
    --to=eblake@redhat.com \
    --cc=armbru@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.