diff options
author | Maxim Levitsky <mlevitsk@redhat.com> | 2020-10-06 14:38:52 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-10-12 11:50:24 -0400 |
commit | 1c3e2a38de4e3094dfaf1e4dd73b1e5a91df8fe9 (patch) | |
tree | 43c174b151e2af0e9fa1692bc54619f19a4c0e3f /tests/qtest/device-plug-test.c | |
parent | fbc5884ce2774232ea5a1a7d9b4e605aefc16a2b (diff) | |
download | qemu-1c3e2a38de4e3094dfaf1e4dd73b1e5a91df8fe9.zip qemu-1c3e2a38de4e3094dfaf1e4dd73b1e5a91df8fe9.tar.gz qemu-1c3e2a38de4e3094dfaf1e4dd73b1e5a91df8fe9.tar.bz2 |
qtest: rename qtest_qmp_receive to qtest_qmp_receive_dict
In the next patch a new version of qtest_qmp_receive will be
reintroduced that will buffer received qmp events for later
consumption in qtest_qmp_eventwait_ref
No functional change intended.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/qtest/device-plug-test.c')
-rw-r--r-- | tests/qtest/device-plug-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/device-plug-test.c b/tests/qtest/device-plug-test.c index 9214892..a224785 100644 --- a/tests/qtest/device-plug-test.c +++ b/tests/qtest/device-plug-test.c @@ -23,7 +23,7 @@ static void device_del_start(QTestState *qtest, const char *id) static void device_del_finish(QTestState *qtest) { - QDict *resp = qtest_qmp_receive(qtest); + QDict *resp = qtest_qmp_receive_dict(qtest); g_assert(qdict_haskey(resp, "return")); qobject_unref(resp); |