]> Git Repo - qemu.git/blobdiff - tests/test-qmp-event.c
tcg/riscv: enable dynamic TLB sizing
[qemu.git] / tests / test-qmp-event.c
index 9cddd72adbe7f545de049939a76e156fc2edded2..bf900f14f48397a5eb4330b998e52a8036109897 100644 (file)
@@ -93,9 +93,7 @@ static bool qdict_cmp_simple(QDict *a, QDict *b)
     return d.result;
 }
 
-/* This function is hooked as final emit function, which can verify the
-   correctness. */
-static void event_test_emit(test_QAPIEvent event, QDict *d)
+void test_qapi_event_emit(test_QAPIEvent event, QDict *d)
 {
     QDict *t;
     int64_t s, ms;
@@ -241,8 +239,6 @@ static void test_event_d(TestEventData *data,
 
 int main(int argc, char **argv)
 {
-    qmp_event_set_func_emit(event_test_emit);
-
     g_test_init(&argc, &argv, NULL);
 
     event_test_add("/event/event_a", test_event_a);
This page took 0.027833 seconds and 4 git commands to generate.