From: Markus Armbruster <armbru@redhat.com>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org
Subject: [PULL 00/33] QAPI patches patches for 2020-12-19
Date: Sat, 19 Dec 2020 11:54:59 +0100 [thread overview]
Message-ID: <20201219105532.1734134-1-armbru@redhat.com> (raw)
The following changes since commit a05f8ecd88f15273d033b6f044b850a8af84a5b8:
Merge remote-tracking branch 'remotes/alistair/tags/pull-riscv-to-apply-20201217-1' into staging (2020-12-18 11:12:35 +0000)
are available in the Git repository at:
git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2020-12-19
for you to fetch changes up to 4ac76ba414ecb94f086d73621775d8b38b6f0a43:
qobject: Make QString immutable (2020-12-19 10:39:41 +0100)
----------------------------------------------------------------
QAPI patches patches for 2020-12-19
----------------------------------------------------------------
Eric Blake (3):
rocker: Revamp fp_port_get_info
migration: Refactor migrate_cap_add
qapi: Use QAPI_LIST_PREPEND() where possible
Markus Armbruster (30):
tests/check-qjson: Don't skip funny QNumber to JSON conversions
tests/check-qjson: Examine QNum more thoroughly
tests/check-qjson: Cover number 2^63
tests/check-qjson: Replace redundant large_number()
tests/check-qnum: Cover qnum_to_string() for "unround" argument
qobject: Fix qnum_to_string() to use sufficient precision
test-string-output-visitor: Cover "unround" number
string-output-visitor: Fix to use sufficient precision
test-visitor-serialization: Drop insufficient precision workaround
test-visitor-serialization: Clean up test_primitives()
hmp: Simplify how qmp_human_monitor_command() gets output
monitor: Use GString instead of QString for output buffer
qobject: Make qobject_to_json_pretty() take a pretty argument
qobject: Use GString instead of QString to accumulate JSON
qobject: Change qobject_to_json()'s value to GString
Revert "qstring: add qstring_free()"
hw/rdma: Replace QList by GQueue
qobject: Move internals to qobject-internal.h
qmp: Fix tracing of non-string command IDs
block: Avoid qobject_get_try_str()
Revert "qobject: let object_property_get_str() use new API"
qobject: Drop qobject_get_try_str()
qobject: Drop qstring_get_try_str()
qobject: Factor quoted_str() out of to_json()
qobject: Factor JSON writer out of qobject_to_json()
migration: Replace migration's JSON writer by the general one
json: Use GString instead of QString to accumulate strings
keyval: Use GString to accumulate value strings
block: Use GString instead of QString to build filenames
qobject: Make QString immutable
docs/devel/writing-qmp-commands.txt | 12 +-
hw/net/rocker/rocker_fp.h | 2 +-
hw/rdma/rdma_backend_defs.h | 2 +-
hw/rdma/rdma_utils.h | 15 ++-
include/migration/vmstate.h | 7 +-
include/qapi/qmp/json-writer.h | 35 +++++
include/qapi/qmp/qbool.h | 2 -
include/qapi/qmp/qdict.h | 2 -
include/qapi/qmp/qjson.h | 4 +-
include/qapi/qmp/qlist.h | 2 -
include/qapi/qmp/qnull.h | 2 -
include/qapi/qmp/qnum.h | 3 -
include/qapi/qmp/qobject.h | 9 +-
include/qapi/qmp/qstring.h | 14 +-
include/qemu/typedefs.h | 4 +-
migration/qjson.h | 29 -----
monitor/monitor-internal.h | 2 +-
qobject/qobject-internal.h | 39 ++++++
block.c | 23 ++--
block/gluster.c | 4 +-
block/qapi.c | 7 +-
block/rbd.c | 2 +-
chardev/char.c | 20 ++-
hw/core/machine-qmp-cmds.c | 6 +-
hw/core/machine.c | 11 +-
hw/display/virtio-gpu.c | 2 +-
hw/intc/s390_flic_kvm.c | 2 +-
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/nvram/eeprom93xx.c | 2 +-
hw/nvram/fw_cfg.c | 2 +-
hw/pci/msix.c | 2 +-
hw/pci/pci.c | 4 +-
hw/pci/shpc.c | 2 +-
hw/rdma/rdma_backend.c | 10 +-
hw/rdma/rdma_utils.c | 29 +++--
hw/rtc/twl92230.c | 2 +-
hw/scsi/scsi-bus.c | 2 +-
hw/usb/redirect.c | 7 +-
hw/virtio/virtio.c | 4 +-
migration/migration.c | 29 ++---
migration/postcopy-ram.c | 7 +-
migration/qjson.c | 114 -----------------
migration/savevm.c | 53 ++++----
migration/vmstate-types.c | 38 +++---
migration/vmstate.c | 52 ++++----
monitor/hmp-cmds.c | 13 +-
monitor/misc.c | 31 ++---
monitor/monitor.c | 20 ++-
monitor/qmp-cmds-control.c | 10 +-
monitor/qmp.c | 46 ++++---
qapi/string-output-visitor.c | 2 +-
qemu-img.c | 38 +++---
qga/commands-posix-ssh.c | 7 +-
qga/commands-posix.c | 47 ++-----
qga/commands-win32.c | 32 ++---
qga/commands.c | 6 +-
qga/main.c | 22 +---
qobject/json-parser.c | 30 ++---
qobject/json-writer.c | 247 ++++++++++++++++++++++++++++++++++++
qobject/qbool.c | 1 +
qobject/qdict.c | 1 +
qobject/qjson.c | 144 +++++----------------
qobject/qlist.c | 1 +
qobject/qnull.c | 1 +
qobject/qnum.c | 28 +---
qobject/qobject.c | 1 +
qobject/qstring.c | 117 +++--------------
qom/object.c | 9 +-
qom/object_interfaces.c | 4 +-
qom/qom-hmp-cmds.c | 7 +-
qom/qom-qmp-cmds.c | 29 ++---
target/alpha/machine.c | 2 +-
target/arm/helper.c | 6 +-
target/arm/machine.c | 6 +-
target/arm/monitor.c | 13 +-
target/avr/machine.c | 4 +-
target/hppa/machine.c | 4 +-
target/i386/cpu.c | 6 +-
target/microblaze/machine.c | 2 +-
target/mips/cpu.c | 6 +-
target/mips/machine.c | 4 +-
target/openrisc/machine.c | 2 +-
target/ppc/machine.c | 10 +-
target/s390x/cpu_models.c | 12 +-
target/sparc/machine.c | 2 +-
tests/check-qjson.c | 195 ++++++++++++++--------------
tests/check-qnum.c | 8 +-
tests/check-qobject.c | 3 +-
tests/check-qstring.c | 16 ---
tests/qtest/libqtest.c | 20 ++-
tests/test-clone-visitor.c | 7 +-
tests/test-qobject-output-visitor.c | 42 +++---
tests/test-string-output-visitor.c | 4 +-
tests/test-visitor-serialization.c | 181 ++++++++------------------
trace/qmp.c | 22 ++--
ui/input.c | 16 +--
ui/vnc.c | 21 +--
util/keyval.c | 11 +-
util/qemu-config.c | 14 +-
target/ppc/translate_init.c.inc | 12 +-
migration/meson.build | 1 -
qobject/meson.build | 5 +-
105 files changed, 975 insertions(+), 1263 deletions(-)
create mode 100644 include/qapi/qmp/json-writer.h
delete mode 100644 migration/qjson.h
create mode 100644 qobject/qobject-internal.h
delete mode 100644 migration/qjson.c
create mode 100644 qobject/json-writer.c
--
2.26.2
next reply other threads:[~2020-12-19 11:02 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-19 10:54 Markus Armbruster [this message]
2020-12-19 10:55 ` [PULL 01/33] rocker: Revamp fp_port_get_info Markus Armbruster
2020-12-19 10:55 ` [PULL 02/33] migration: Refactor migrate_cap_add Markus Armbruster
2020-12-19 10:55 ` [PULL 03/33] qapi: Use QAPI_LIST_PREPEND() where possible Markus Armbruster
2020-12-19 10:55 ` [PULL 04/33] tests/check-qjson: Don't skip funny QNumber to JSON conversions Markus Armbruster
2020-12-19 10:55 ` [PULL 05/33] tests/check-qjson: Examine QNum more thoroughly Markus Armbruster
2020-12-19 10:55 ` [PULL 06/33] tests/check-qjson: Cover number 2^63 Markus Armbruster
2020-12-19 10:55 ` [PULL 07/33] tests/check-qjson: Replace redundant large_number() Markus Armbruster
2020-12-19 10:55 ` [PULL 08/33] tests/check-qnum: Cover qnum_to_string() for "unround" argument Markus Armbruster
2020-12-19 10:55 ` [PULL 09/33] qobject: Fix qnum_to_string() to use sufficient precision Markus Armbruster
2020-12-19 10:55 ` [PULL 10/33] test-string-output-visitor: Cover "unround" number Markus Armbruster
2020-12-19 10:55 ` [PULL 11/33] string-output-visitor: Fix to use sufficient precision Markus Armbruster
2020-12-19 10:55 ` [PULL 12/33] test-visitor-serialization: Drop insufficient precision workaround Markus Armbruster
2020-12-19 10:55 ` [PULL 13/33] test-visitor-serialization: Clean up test_primitives() Markus Armbruster
2020-12-19 10:55 ` [PULL 14/33] hmp: Simplify how qmp_human_monitor_command() gets output Markus Armbruster
2020-12-19 10:55 ` [PULL 15/33] monitor: Use GString instead of QString for output buffer Markus Armbruster
2020-12-19 10:55 ` [PULL 16/33] qobject: Make qobject_to_json_pretty() take a pretty argument Markus Armbruster
2020-12-19 10:55 ` [PULL 17/33] qobject: Use GString instead of QString to accumulate JSON Markus Armbruster
2020-12-19 10:55 ` [PULL 18/33] qobject: Change qobject_to_json()'s value to GString Markus Armbruster
2020-12-19 10:55 ` [PULL 19/33] Revert "qstring: add qstring_free()" Markus Armbruster
2020-12-19 10:55 ` [PULL 20/33] hw/rdma: Replace QList by GQueue Markus Armbruster
2020-12-19 10:55 ` [PULL 21/33] qobject: Move internals to qobject-internal.h Markus Armbruster
2020-12-19 10:55 ` [PULL 22/33] qmp: Fix tracing of non-string command IDs Markus Armbruster
2020-12-19 10:55 ` [PULL 23/33] block: Avoid qobject_get_try_str() Markus Armbruster
2020-12-19 10:55 ` [PULL 24/33] Revert "qobject: let object_property_get_str() use new API" Markus Armbruster
2020-12-19 10:55 ` [PULL 25/33] qobject: Drop qobject_get_try_str() Markus Armbruster
2020-12-19 10:55 ` [PULL 26/33] qobject: Drop qstring_get_try_str() Markus Armbruster
2020-12-19 10:55 ` [PULL 27/33] qobject: Factor quoted_str() out of to_json() Markus Armbruster
2020-12-19 10:55 ` [PULL 28/33] qobject: Factor JSON writer out of qobject_to_json() Markus Armbruster
2020-12-19 10:55 ` [PULL 29/33] migration: Replace migration's JSON writer by the general one Markus Armbruster
2020-12-19 10:55 ` [PULL 30/33] json: Use GString instead of QString to accumulate strings Markus Armbruster
2020-12-19 10:55 ` [PULL 31/33] keyval: Use GString to accumulate value strings Markus Armbruster
2020-12-19 10:55 ` [PULL 32/33] block: Use GString instead of QString to build filenames Markus Armbruster
2020-12-19 10:55 ` [PULL 33/33] qobject: Make QString immutable Markus Armbruster
2020-12-19 11:24 ` [PULL 00/33] QAPI patches patches for 2020-12-19 no-reply
2021-01-01 16:56 ` Peter Maydell
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=20201219105532.1734134-1-armbru@redhat.com \
--to=armbru@redhat.com \
--cc=peter.maydell@linaro.org \
--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 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).