summaryrefslogtreecommitdiffstats
path: root/tests/boot-sector.c
diff options
context:
space:
mode:
authorEric Blake2017-09-11 19:20:06 +0200
committerThomas Huth2018-02-14 11:43:41 +0100
commit6a5c88f5728d33994b828ad4a333752269f08d92 (patch)
treebdaaf16b36d7ef62930a6d1fb6d7807724a802b6 /tests/boot-sector.c
parentlibqos: Use explicit QTestState for remaining libqos operations (diff)
downloadqemu-6a5c88f5728d33994b828ad4a333752269f08d92.tar.gz
qemu-6a5c88f5728d33994b828ad4a333752269f08d92.tar.xz
qemu-6a5c88f5728d33994b828ad4a333752269f08d92.zip
qmp-test: Drop dependence on global_qtest
As a general rule, we prefer avoiding implicit global state because it makes code harder to safely copy and paste without thinking about the global state. Although qmp-test does not maintain parallel qtest connections, it was the last test assigning to global_qtest. It's just as easy to be explicit about the state; once all tests have been cleaned up, a later patch can then get rid of global_qtest and a layer of wrappers in libqtest. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/boot-sector.c')
0 files changed, 0 insertions, 0 deletions