From: Thomas Huth <thuth@redhat.com>
To: Laurent Vivier <lvivier@redhat.com>, qemu-devel@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>
Subject: [Qemu-devel] [PATCH 0/6] Get rid of global_qtest in q35-, qom-, numa- and more tests
Date: Wed, 15 May 2019 19:43:22 +0200 [thread overview]
Message-ID: <20190515174328.16361-1-thuth@redhat.com> (raw)
Here are some more patches that get rid of global_qtest and related
functions in some of the qtests (hacked along the way while waiting
for other compilation and test processes to finish). A global variable
like global_qtest is very problematic in tests that track multiple test
states (like migration tests). But since we often share code between
tests, it is better to avoid these global_qtest related functions
completely - i.e. the plan is to get rid of global_qtest completely
in the long run.
Thomas Huth (6):
tests/libqos: Get rid of global_qtest dependency in qvring_init()
tests/q35-test: Make test independent of global_qtest
tests/numa-test: Use qtest_init() instead of qtest_start()
tests/qom-test: Use qtest_init() instead of qtest_start()
tests/device-introspect: Use qtest_init() instead of qtest_start()
tests/hd-geo-test: Use qtest_init() instead of qtest_start()
tests/device-introspect-test.c | 85 ++++++++++++++++++----------------
tests/hd-geo-test.c | 76 ++++++++++++++++--------------
tests/libqos/virtio-mmio.c | 2 +-
tests/libqos/virtio-pci.c | 3 +-
tests/libqos/virtio.c | 18 +++----
tests/libqos/virtio.h | 3 +-
tests/numa-test.c | 53 ++++++++++++---------
tests/q35-test.c | 39 +++++++---------
tests/qom-test.c | 28 ++++++-----
9 files changed, 163 insertions(+), 144 deletions(-)
--
2.21.0
next reply other threads:[~2019-05-15 17:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-15 17:43 Thomas Huth [this message]
2019-05-15 17:43 ` [Qemu-devel] [PATCH 1/6] tests/libqos: Get rid of global_qtest dependency in qvring_init() Thomas Huth
2019-05-15 17:43 ` [Qemu-devel] [PATCH 2/6] tests/q35-test: Make test independent of global_qtest Thomas Huth
2019-05-15 17:43 ` [Qemu-devel] [PATCH 3/6] tests/numa-test: Use qtest_init() instead of qtest_start() Thomas Huth
2019-05-15 17:43 ` [Qemu-devel] [PATCH 4/6] tests/qom-test: " Thomas Huth
2019-05-15 17:43 ` [Qemu-devel] [PATCH 5/6] tests/device-introspect: " Thomas Huth
2019-05-15 17:43 ` [Qemu-devel] [PATCH 6/6] tests/hd-geo-test: " Thomas Huth
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=20190515174328.16361-1-thuth@redhat.com \
--to=thuth@redhat.com \
--cc=lvivier@redhat.com \
--cc=pbonzini@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 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).