tests/machine-none: Make test independent of global_qtest
commited398a1206035c082bf9553cb627f4c6c6b5b5c1
authorThomas Huth <thuth@redhat.com>
Tue, 13 Nov 2018 20:11:13 +0000 (13 21:11 +0100)
committerThomas Huth <thuth@redhat.com>
Mon, 17 Dec 2018 14:36:40 +0000 (17 15:36 +0100)
tree89f7527453dada83974a078d8ddd73c6f7e03c85
parenta2569b001cf6acf9e9e9bcf7dbcd0a9c94d4bd52
tests/machine-none: Make test independent of global_qtest

Apart from using qmp() in one spot, this test does not have any
dependencies to the global_qtest variable, so we can simply get
rid of it here by replacing the qmp() with qtest_qmp().

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/machine-none-test.c