[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v5 00/13] Preliminary libqtest cleanups
From: |
Eric Blake |
Subject: |
[Qemu-devel] [PATCH v5 00/13] Preliminary libqtest cleanups |
Date: |
Fri, 18 Aug 2017 16:15:29 -0500 |
Markus gave some good advice on my 'v4: Clean up around qmp() and hmp()'
series [1]. Among other things, we agreed that if I'm going to get rid
of the qtest_* layer of function wrappers, I should do it all the way
(rather than just on the qmp() functions), and up front. So that's what
this series does - focus on the stuff that should be easier to commit
up front, while I still play around with the hairier stuff related to
improving the qmp() interfaces.
I'm naming this v5, even though most of it is new content (patch 1 was
posted independently [2], and patch 13 was 7/22 of v4). The overall
diffstat is rather fun.
[1] https://lists.gnu.org/archive/html/qemu-devel/2017-08/msg00595.html
[2] https://lists.gnu.org/archive/html/qemu-devel/2017-08/msg00385.html
Eric Blake (13):
test-qga: Kill broken and dead QGA_TEST_SIDE_EFFECTING code
qtest: Don't perform side effects inside assertion
libqtest: Remove dead qtest_instances variable
libqtest: Let socket_send() compute length
libqtest: Use qemu_strtoul()
libqtest: Topologically sort functions
libqtest: Inline qtest_query_target_endianness()
tests: Rely more on global_qtest
libqtest: Shorten a couple more qtest_* functions
libqtest: Drop qtest_init() and qtest_qmp_discard_response()
libqtest: Drop many static inline qtest_ wrappers
libqtest: Use global_qtest in qtest_sendf() and qtest_rsp()
numa-test: Use hmp()
tests/libqos/virtio.h | 2 +-
tests/libqtest.h | 642 +++++++++--------------------------------------
tests/libqtest.c | 496 ++++++++++++++++++------------------
qtest.c | 80 ++++--
tests/fdc-test.c | 2 +-
tests/ide-test.c | 10 +-
tests/ipmi-bt-test.c | 2 +-
tests/ipmi-kcs-test.c | 2 +-
tests/libqos/libqos-pc.c | 2 +-
tests/libqos/rtas.c | 3 +-
tests/numa-test.c | 21 +-
tests/postcopy-test.c | 16 +-
tests/qmp-test.c | 2 +-
tests/rtc-test.c | 9 +-
tests/tco-test.c | 5 +-
tests/test-qga.c | 90 -------
tests/vhost-user-test.c | 3 +-
tests/wdt_ib700-test.c | 30 ++-
18 files changed, 467 insertions(+), 950 deletions(-)
--
2.13.5
- [Qemu-devel] [PATCH v5 00/13] Preliminary libqtest cleanups,
Eric Blake <=
[Qemu-devel] [PATCH v5 03/13] libqtest: Remove dead qtest_instances variable, Eric Blake, 2017/08/18
[Qemu-devel] [PATCH v5 01/13] test-qga: Kill broken and dead QGA_TEST_SIDE_EFFECTING code, Eric Blake, 2017/08/18
[Qemu-devel] [PATCH v5 06/13] libqtest: Topologically sort functions, Eric Blake, 2017/08/18