[PATCH v3 0/7] Common macros for QAPI list growth

Eric Blake posted 7 patches 4 years, 9 months ago
Test checkpatch passed
Failed in applying to current master (apply log)
There is a newer version of this series
docs/devel/writing-qmp-commands.txt |  12 +-
hw/net/rocker/rocker_fp.h           |   2 +-
include/qapi/util.h                 |  13 +++
backends/hostmem.c                  |  10 +-
block/dirty-bitmap.c                |   8 +-
block/export/export.c               |   7 +-
block/gluster.c                     |  17 +--
block/qapi.c                        |  44 ++-----
block/qcow2-bitmap.c                |  15 +--
block/vmdk.c                        |   9 +-
blockdev.c                          |  13 +--
chardev/char.c                      |  20 ++--
crypto/block-luks.c                 |   9 +-
dump/dump.c                         |  22 +---
hw/acpi/cpu.c                       |   8 +-
hw/acpi/memory_hotplug.c            |   9 +-
hw/core/machine-qmp-cmds.c          | 131 +++++++++------------
hw/core/machine.c                   |  11 +-
hw/mem/memory-device.c              |  12 +-
hw/net/rocker/rocker.c              |   8 +-
hw/net/rocker/rocker_fp.c           |  17 +--
hw/net/rocker/rocker_of_dpa.c       |  20 +---
hw/net/virtio-net.c                 |  21 ++--
hw/pci/pci.c                        |  60 +++-------
iothread.c                          |  12 +-
job-qmp.c                           |  13 +--
migration/migration.c               |  56 ++++-----
migration/postcopy-ram.c            |   7 +-
monitor/hmp-cmds.c                  |  48 ++++----
monitor/misc.c                      |  25 ++--
monitor/qmp-cmds-control.c          |  19 ++-
net/net.c                           |  15 +--
qemu-img.c                          |  13 +--
qga/commands-posix-ssh.c            |   7 +-
qga/commands-posix.c                | 172 +++++++++-------------------
qga/commands-win32.c                | 131 +++++++--------------
qga/commands.c                      |   6 +-
qom/qom-qmp-cmds.c                  |  29 ++---
scsi/pr-manager.c                   |  10 +-
softmmu/tpm.c                       |  38 +-----
target/arm/helper.c                 |   6 +-
target/arm/monitor.c                |  13 +--
target/i386/cpu.c                   |  29 ++---
target/mips/cpu.c                   |   6 +-
target/s390x/cpu_models.c           |  12 +-
tests/test-clone-visitor.c          |   7 +-
tests/test-qobject-output-visitor.c | 126 +++++++-------------
tests/test-string-output-visitor.c  |   6 +-
tests/test-visitor-serialization.c  | 113 +++---------------
trace/qmp.c                         |  22 ++--
ui/input.c                          |  16 ++-
ui/spice-core.c                     |  27 ++---
ui/vnc.c                            |  21 +---
util/qemu-config.c                  |  14 +--
target/ppc/translate_init.c.inc     |  12 +-
55 files changed, 478 insertions(+), 1051 deletions(-)
[PATCH v3 0/7] Common macros for QAPI list growth
Posted by Eric Blake 4 years, 9 months ago
I worked on rebasing this while not checking my emails, and now that
I'm writing it up, I see that Markus already has incorporated earlier
patches in the v2 series into his tree.  So I may have to rebase yet
again, but it's at least time for me to get this on list again.

v2 was here:
https://lists.gnu.org/archive/html/qemu-devel/2020-11/msg03457.html

Since then: address review comments, use the name 'tail' in more
places, rebase to master

Eric Blake (7):
  net: Clarify early exit condition
  rocker: Revamp fp_port_get_info
  migration: Refactor migrate_cap_add
  qapi: Use QAPI_LIST_PREPEND() where possible
  qapi: Introduce QAPI_LIST_APPEND
  qapi: Use QAPI_LIST_APPEND in trivial cases
  qapi: More complex uses of QAPI_LIST_APPEND

 docs/devel/writing-qmp-commands.txt |  12 +-
 hw/net/rocker/rocker_fp.h           |   2 +-
 include/qapi/util.h                 |  13 +++
 backends/hostmem.c                  |  10 +-
 block/dirty-bitmap.c                |   8 +-
 block/export/export.c               |   7 +-
 block/gluster.c                     |  17 +--
 block/qapi.c                        |  44 ++-----
 block/qcow2-bitmap.c                |  15 +--
 block/vmdk.c                        |   9 +-
 blockdev.c                          |  13 +--
 chardev/char.c                      |  20 ++--
 crypto/block-luks.c                 |   9 +-
 dump/dump.c                         |  22 +---
 hw/acpi/cpu.c                       |   8 +-
 hw/acpi/memory_hotplug.c            |   9 +-
 hw/core/machine-qmp-cmds.c          | 131 +++++++++------------
 hw/core/machine.c                   |  11 +-
 hw/mem/memory-device.c              |  12 +-
 hw/net/rocker/rocker.c              |   8 +-
 hw/net/rocker/rocker_fp.c           |  17 +--
 hw/net/rocker/rocker_of_dpa.c       |  20 +---
 hw/net/virtio-net.c                 |  21 ++--
 hw/pci/pci.c                        |  60 +++-------
 iothread.c                          |  12 +-
 job-qmp.c                           |  13 +--
 migration/migration.c               |  56 ++++-----
 migration/postcopy-ram.c            |   7 +-
 monitor/hmp-cmds.c                  |  48 ++++----
 monitor/misc.c                      |  25 ++--
 monitor/qmp-cmds-control.c          |  19 ++-
 net/net.c                           |  15 +--
 qemu-img.c                          |  13 +--
 qga/commands-posix-ssh.c            |   7 +-
 qga/commands-posix.c                | 172 +++++++++-------------------
 qga/commands-win32.c                | 131 +++++++--------------
 qga/commands.c                      |   6 +-
 qom/qom-qmp-cmds.c                  |  29 ++---
 scsi/pr-manager.c                   |  10 +-
 softmmu/tpm.c                       |  38 +-----
 target/arm/helper.c                 |   6 +-
 target/arm/monitor.c                |  13 +--
 target/i386/cpu.c                   |  29 ++---
 target/mips/cpu.c                   |   6 +-
 target/s390x/cpu_models.c           |  12 +-
 tests/test-clone-visitor.c          |   7 +-
 tests/test-qobject-output-visitor.c | 126 +++++++-------------
 tests/test-string-output-visitor.c  |   6 +-
 tests/test-visitor-serialization.c  | 113 +++---------------
 trace/qmp.c                         |  22 ++--
 ui/input.c                          |  16 ++-
 ui/spice-core.c                     |  27 ++---
 ui/vnc.c                            |  21 +---
 util/qemu-config.c                  |  14 +--
 target/ppc/translate_init.c.inc     |  12 +-
 55 files changed, 478 insertions(+), 1051 deletions(-)

-- 
2.29.2