]> Git Repo - qemu.git/blobdiff - tests/test-block-backend.c
hw/timer/armv7m_systick: Forbid non-privileged accesses
[qemu.git] / tests / test-block-backend.c
index fd59f02bd0dab2557e3c49049ff604c81a69afa6..5b5d6845c0d356f8e7f52329e7284256ced1da59 100644 (file)
@@ -37,7 +37,8 @@ static void test_drain_aio_error_flush_cb(void *opaque, int ret)
 
 static void test_drain_aio_error(void)
 {
-    BlockBackend *blk = blk_new(BLK_PERM_ALL, BLK_PERM_ALL);
+    BlockBackend *blk = blk_new(qemu_get_aio_context(),
+                                BLK_PERM_ALL, BLK_PERM_ALL);
     BlockAIOCB *acb;
     bool completed = false;
 
@@ -53,7 +54,8 @@ static void test_drain_aio_error(void)
 
 static void test_drain_all_aio_error(void)
 {
-    BlockBackend *blk = blk_new(BLK_PERM_ALL, BLK_PERM_ALL);
+    BlockBackend *blk = blk_new(qemu_get_aio_context(),
+                                BLK_PERM_ALL, BLK_PERM_ALL);
     BlockAIOCB *acb;
     bool completed = false;
 
This page took 0.021027 seconds and 4 git commands to generate.