aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/pvpanic-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/pvpanic-test.c')
-rw-r--r--tests/qtest/pvpanic-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/pvpanic-test.c b/tests/qtest/pvpanic-test.c
index e576394..b0b20ad 100644
--- a/tests/qtest/pvpanic-test.c
+++ b/tests/qtest/pvpanic-test.c
@@ -24,7 +24,7 @@ static void test_panic(void)
qtest_outb(qts, 0x505, 0x1);
- response = qtest_qmp_receive(qts);
+ response = qtest_qmp_receive_dict(qts);
g_assert(qdict_haskey(response, "event"));
g_assert_cmpstr(qdict_get_str(response, "event"), ==, "GUEST_PANICKED");
g_assert(qdict_haskey(response, "data"));