aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2017-03-03 11:50:29 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2017-03-14 13:28:29 +0100
commit3f53bc61a404cd1d13fdba8441282a33a755f8c6 (patch)
treeeb99182fd28668a99973411d87f6b0727096400b /tests
parentd2528bdc19988db73056be75dd9bf52eeee620f5 (diff)
downloadqemu-3f53bc61a404cd1d13fdba8441282a33a755f8c6.zip
qemu-3f53bc61a404cd1d13fdba8441282a33a755f8c6.tar.gz
qemu-3f53bc61a404cd1d13fdba8441282a33a755f8c6.tar.bz2
cpus: define QEMUTimerListNotifyCB for QEMU system emulation
There is no change for now, because the callback just invokes qemu_notify_event. Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/test-aio-multithread.c2
-rw-r--r--tests/test-aio.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-aio-multithread.c b/tests/test-aio-multithread.c
index 8b0b40e..549d784 100644
--- a/tests/test-aio-multithread.c
+++ b/tests/test-aio-multithread.c
@@ -438,7 +438,7 @@ static void test_multi_mutex_10(void)
int main(int argc, char **argv)
{
- init_clocks();
+ init_clocks(NULL);
g_test_init(&argc, &argv, NULL);
g_test_add_func("/aio/multi/lifecycle", test_lifecycle);
diff --git a/tests/test-aio.c b/tests/test-aio.c
index 2754f15..54e20d6 100644
--- a/tests/test-aio.c
+++ b/tests/test-aio.c
@@ -835,7 +835,7 @@ int main(int argc, char **argv)
Error *local_error = NULL;
GSource *src;
- init_clocks();
+ init_clocks(NULL);
ctx = aio_context_new(&local_error);
if (!ctx) {