From: Markus Armbruster <armbru@redhat.com>
To: qemu-devel@nongnu.org
Cc: thuth@redhat.com, f4bug@amsat.org, eblake@redhat.com
Subject: [Qemu-devel] [PATCH v2 00/23] tests: Compile-time format string checking for libqtest.h
Date: Fri, 27 Jul 2018 17:13:36 +0200 [thread overview]
Message-ID: <20180727151359.29061-1-armbru@redhat.com> (raw)
This is a reboot of "[PATCH 0/9] tests: Clean up around qmp() and
hmp()" I sent about a year ago. Back then, Eric folded it into his
"Clean up around qmp() and hmp()" series, which stalled after v4.
My reboot tries to avoid that fate by reducing mission creep. There
are plenty of good ideas in Eric's series we should mine some day, but
today is not that day.
v2:
* PATCH 01: Comments tweaked, ripple effect on PATCH 05+13
* PATCH 05: Commit message improved [Thomas]
* PATCH 06: Style fix [Philippe]
* PATCH 16+17: Silence a warning
* PATCH 21-23: New
Eric Blake (1):
libqtest: Document calling conventions
Markus Armbruster (22):
libqtest: Rename functions to send QMP messages
libqtest: Clean up how we read device_del messages
libqtest: Clean up how we read the QMP greeting
qobject: Replace qobject_from_jsonf() by qobject_from_jsonf_nofail()
qobject: New qobject_from_vjsonf_nofail(), qdict_from_vjsonf_nofail()
libqtest: Simplify qmp_fd_vsend() a bit
test-qobject-input-visitor: Avoid format string ambiguity
qobject: qobject_from_jsonv() is dangerous, hide it away
tests: Pass literal format strings directly to qmp_FOO()
tests: Clean up string interpolation into QMP input (simple cases)
cpu-plug-test: Don't pass integers as strings to device_add
tests: Clean up string interpolation around qtest_qmp_device_add()
migration-test: Make wait_command() return the "return" member
tests: New helper qtest_qmp_receive_success()
migration-test: Make wait_command() cope with '%'
migration-test: Clean up string interpolation into QMP, part 1
migration-test: Clean up string interpolation into QMP, part 2
migration-test: Clean up string interpolation into QMP, part 3
libqtest: Enable compile-time format string checking
libqtest: Remove qtest_qmp_discard_response() & friends
libqtest: Replace qtest_startf() by qtest_initf()
libqtest: Rename qtest_FOOv() to qtest_vFOO() for consistency
include/qapi/qmp/qjson.h | 12 +-
qobject/qjson.c | 89 ++++++++++----
tests/ahci-test.c | 24 ++--
tests/boot-order-test.c | 12 +-
tests/boot-serial-test.c | 10 +-
tests/cdrom-test.c | 6 +-
tests/check-qjson.c | 15 +--
tests/cpu-plug-test.c | 7 +-
tests/drive_del-test.c | 4 +-
tests/e1000e-test.c | 6 +-
tests/endianness-test.c | 24 ++--
tests/fdc-test.c | 9 +-
tests/ide-test.c | 6 +-
tests/ipmi-bt-test.c | 2 +-
tests/ivshmem-test.c | 8 +-
tests/libqos/ahci.c | 4 +-
tests/libqos/pci-pc.c | 9 +-
tests/libqos/pci.c | 7 --
tests/libqos/pci.h | 2 -
tests/libqos/usb.c | 10 +-
tests/libqos/usb.h | 2 +-
tests/libqtest.c | 189 ++++++++++++++---------------
tests/libqtest.h | 124 ++++++++++---------
tests/m25p80-test.c | 6 +-
tests/m48t59-test.c | 2 +-
tests/machine-none-test.c | 2 +-
tests/migration-test.c | 180 ++++++++++++---------------
tests/numa-test.c | 4 +-
tests/pnv-xscom-test.c | 8 +-
tests/prom-env-test.c | 10 +-
tests/qmp-test.c | 20 +--
tests/sdhci-test.c | 6 +-
tests/tco-test.c | 6 +-
tests/test-filter-mirror.c | 5 +-
tests/test-filter-redirector.c | 9 +-
tests/test-qga.c | 150 ++++++++++-------------
tests/test-qobject-input-visitor.c | 19 +--
tests/tpm-util.c | 41 ++-----
tests/usb-hcd-ehci-test.c | 2 +-
tests/usb-hcd-ohci-test.c | 2 +-
tests/usb-hcd-uhci-test.c | 4 +-
tests/usb-hcd-xhci-test.c | 10 +-
tests/vhost-user-test.c | 6 +-
tests/virtio-balloon-test.c | 4 +-
tests/virtio-blk-test.c | 32 ++---
tests/virtio-console-test.c | 12 +-
tests/virtio-net-test.c | 3 +-
tests/virtio-rng-test.c | 3 +-
tests/virtio-scsi-test.c | 2 +-
tests/virtio-serial-test.c | 6 +-
tests/vmgenid-test.c | 6 +-
51 files changed, 554 insertions(+), 587 deletions(-)
--
2.17.1
next reply other threads:[~2018-07-27 15:14 UTC|newest]
Thread overview: 69+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-27 15:13 Markus Armbruster [this message]
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 01/23] libqtest: Document calling conventions Markus Armbruster
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 02/23] libqtest: Rename functions to send QMP messages Markus Armbruster
2018-07-27 15:24 ` Eric Blake
2018-07-30 5:41 ` Markus Armbruster
2018-07-27 16:35 ` Thomas Huth
2018-07-27 17:06 ` Eric Blake
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 03/23] libqtest: Clean up how we read device_del messages Markus Armbruster
2018-07-27 15:24 ` Eric Blake
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 04/23] libqtest: Clean up how we read the QMP greeting Markus Armbruster
2018-07-27 15:25 ` Eric Blake
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 05/23] qobject: Replace qobject_from_jsonf() by qobject_from_jsonf_nofail() Markus Armbruster
2018-07-27 15:28 ` Eric Blake
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 06/23] qobject: New qobject_from_vjsonf_nofail(), qdict_from_vjsonf_nofail() Markus Armbruster
2018-07-27 15:30 ` Eric Blake
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 07/23] libqtest: Simplify qmp_fd_vsend() a bit Markus Armbruster
2018-07-27 15:31 ` Eric Blake
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 08/23] test-qobject-input-visitor: Avoid format string ambiguity Markus Armbruster
2018-07-27 15:33 ` Eric Blake
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 09/23] qobject: qobject_from_jsonv() is dangerous, hide it away Markus Armbruster
2018-07-27 15:34 ` Eric Blake
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 10/23] tests: Pass literal format strings directly to qmp_FOO() Markus Armbruster
2018-07-27 15:35 ` Eric Blake
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 11/23] tests: Clean up string interpolation into QMP input (simple cases) Markus Armbruster
2018-07-27 15:39 ` Eric Blake
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 12/23] cpu-plug-test: Don't pass integers as strings to device_add Markus Armbruster
2018-07-27 15:42 ` Eric Blake
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 13/23] tests: Clean up string interpolation around qtest_qmp_device_add() Markus Armbruster
2018-07-27 15:48 ` Eric Blake
2018-07-30 6:04 ` Markus Armbruster
2018-07-30 8:34 ` Markus Armbruster
2018-07-30 15:25 ` Eric Blake
2018-07-31 6:16 ` Markus Armbruster
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 14/23] migration-test: Make wait_command() return the "return" member Markus Armbruster
2018-07-27 15:50 ` Eric Blake
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 15/23] tests: New helper qtest_qmp_receive_success() Markus Armbruster
2018-07-27 16:00 ` Eric Blake
2018-07-30 6:10 ` Markus Armbruster
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 16/23] migration-test: Make wait_command() cope with '%' Markus Armbruster
2018-07-27 16:02 ` Eric Blake
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 17/23] migration-test: Clean up string interpolation into QMP, part 1 Markus Armbruster
2018-07-27 16:04 ` Eric Blake
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 18/23] migration-test: Clean up string interpolation into QMP, part 2 Markus Armbruster
2018-07-27 16:05 ` Eric Blake
2018-07-30 6:19 ` Markus Armbruster
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 19/23] migration-test: Clean up string interpolation into QMP, part 3 Markus Armbruster
2018-07-27 16:11 ` Eric Blake
2018-07-30 6:25 ` Markus Armbruster
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 20/23] libqtest: Enable compile-time format string checking Markus Armbruster
2018-07-27 16:18 ` Eric Blake
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 21/23] libqtest: Remove qtest_qmp_discard_response() & friends Markus Armbruster
2018-07-27 16:46 ` Thomas Huth
2018-07-27 17:03 ` Eric Blake
2018-07-30 6:32 ` Markus Armbruster
2018-08-01 6:46 ` Thomas Huth
2018-08-02 4:53 ` Markus Armbruster
2018-08-02 5:30 ` Thomas Huth
2018-08-02 18:31 ` Markus Armbruster
2018-07-27 17:05 ` Eric Blake
2018-07-30 6:28 ` Markus Armbruster
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 22/23] libqtest: Replace qtest_startf() by qtest_initf() Markus Armbruster
2018-07-27 17:08 ` Eric Blake
2018-07-30 6:32 ` Markus Armbruster
2018-07-27 17:18 ` Thomas Huth
2018-07-27 18:52 ` Eric Blake
2018-07-27 15:13 ` [Qemu-devel] [PATCH v2 23/23] libqtest: Rename qtest_FOOv() to qtest_vFOO() for consistency Markus Armbruster
2018-07-27 17:10 ` Eric Blake
2018-07-27 17:19 ` Thomas Huth
2018-07-30 6:47 ` Markus Armbruster
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=20180727151359.29061-1-armbru@redhat.com \
--to=armbru@redhat.com \
--cc=eblake@redhat.com \
--cc=f4bug@amsat.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.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).