aboutsummaryrefslogtreecommitdiff
path: root/tests/test-replication.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2017-04-21 20:27:01 +0800
committerMarkus Armbruster <armbru@redhat.com>2017-04-24 09:12:59 +0200
commit9217283dc8ce48688ea0556763574c0333faf79c (patch)
tree73e7cbbf55c08c5c2d9daed8952d701770ef604b /tests/test-replication.c
parent1a9a7f25a0a4a3cc0a3ac1dc984c2dcde1b09c67 (diff)
downloadqemu-9217283dc8ce48688ea0556763574c0333faf79c.zip
qemu-9217283dc8ce48688ea0556763574c0333faf79c.tar.gz
qemu-9217283dc8ce48688ea0556763574c0333faf79c.tar.bz2
block: Make errp the last parameter of bdrv_img_create
Signed-off-by: Fam Zheng <famz@redhat.com> Message-Id: <20170421122710.15373-6-famz@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'tests/test-replication.c')
-rw-r--r--tests/test-replication.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-replication.c b/tests/test-replication.c
index fac2da3..3016c6f 100644
--- a/tests/test-replication.c
+++ b/tests/test-replication.c
@@ -144,18 +144,18 @@ static void prepare_imgs(void)
/* Primary */
bdrv_img_create(p_local_disk, "qcow2", NULL, NULL, NULL, IMG_SIZE,
- BDRV_O_RDWR, &local_err, true);
+ BDRV_O_RDWR, true, &local_err);
g_assert(!local_err);
/* Secondary */
bdrv_img_create(s_local_disk, "qcow2", NULL, NULL, NULL, IMG_SIZE,
- BDRV_O_RDWR, &local_err, true);
+ BDRV_O_RDWR, true, &local_err);
g_assert(!local_err);
bdrv_img_create(s_active_disk, "qcow2", NULL, NULL, NULL, IMG_SIZE,
- BDRV_O_RDWR, &local_err, true);
+ BDRV_O_RDWR, true, &local_err);
g_assert(!local_err);
bdrv_img_create(s_hidden_disk, "qcow2", NULL, NULL, NULL, IMG_SIZE,
- BDRV_O_RDWR, &local_err, true);
+ BDRV_O_RDWR, true, &local_err);
g_assert(!local_err);
}