]> git.proxmox.com Git - mirror_qemu.git/commit - tests/m48t59-test.c
libqtest: Replace qtest_startf() by qtest_initf()
authorMarkus Armbruster <armbru@redhat.com>
Mon, 6 Aug 2018 06:53:43 +0000 (08:53 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 16 Aug 2018 06:42:06 +0000 (08:42 +0200)
commit88b988c895e3c226e264502cec03e13c34bb8f61
tree4aa07775e66b6c7b69f9dde4c35d77d1871b0634
parente3dc93be1ac46fdb58142383319b783b4c4ce8ca
libqtest: Replace qtest_startf() by qtest_initf()

qtest_init() creates a new QTestState, and leaves @global_qtest alone.
qtest_start() additionally assigns it to @global_qtest, but
qtest_startf() additionally assigns NULL to @global_qtest.  This makes
no sense.  Replace it by qtest_initf() that works like qtest_init(),
i.e. leaves @global_qtest alone.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180806065344.7103-23-armbru@redhat.com>
23 files changed:
tests/boot-order-test.c
tests/boot-serial-test.c
tests/cdrom-test.c
tests/endianness-test.c
tests/ipmi-bt-test.c
tests/libqtest.c
tests/libqtest.h
tests/m25p80-test.c
tests/m48t59-test.c
tests/machine-none-test.c
tests/numa-test.c
tests/pnv-xscom-test.c
tests/prom-env-test.c
tests/qmp-test.c
tests/sdhci-test.c
tests/tco-test.c
tests/test-filter-mirror.c
tests/test-filter-redirector.c
tests/virtio-balloon-test.c
tests/virtio-blk-test.c
tests/virtio-console-test.c
tests/virtio-serial-test.c
tests/vmgenid-test.c