]> Git Repo - qemu.git/commit - tests/vmgenid-test.c
libqtest: Replace qtest_startf() by qtest_initf()
authorMarkus Armbruster <[email protected]>
Mon, 6 Aug 2018 06:53:43 +0000 (08:53 +0200)
committerMarkus Armbruster <[email protected]>
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 <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Message-Id: <20180806065344[email protected]>
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
This page took 0.030196 seconds and 4 git commands to generate.