aboutsummaryrefslogtreecommitdiff
path: root/include/block
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2017-11-20 15:36:48 +0100
committerKevin Wolf <kwolf@redhat.com>2017-11-21 14:48:22 +0100
commit2b624fe079ee7123797f6c685e714795665c0e01 (patch)
tree456f03cb333285ea73afdb8dcc21967538d3ce9f /include/block
parent0b62bcbc61c0cd4c9e7fb3863cf5dc8016b0b4ed (diff)
downloadqemu-2b624fe079ee7123797f6c685e714795665c0e01.zip
qemu-2b624fe079ee7123797f6c685e714795665c0e01.tar.gz
qemu-2b624fe079ee7123797f6c685e714795665c0e01.tar.bz2
block: Add errp to bdrv_all_goto_snapshot()
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Denis V. Lunev <den@openvz.org> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r--include/block/snapshot.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/block/snapshot.h b/include/block/snapshot.h
index aeb8040..9407799 100644
--- a/include/block/snapshot.h
+++ b/include/block/snapshot.h
@@ -84,7 +84,8 @@ int bdrv_snapshot_load_tmp_by_id_or_name(BlockDriverState *bs,
bool bdrv_all_can_snapshot(BlockDriverState **first_bad_bs);
int bdrv_all_delete_snapshot(const char *name, BlockDriverState **first_bsd_bs,
Error **err);
-int bdrv_all_goto_snapshot(const char *name, BlockDriverState **first_bsd_bs);
+int bdrv_all_goto_snapshot(const char *name, BlockDriverState **first_bad_bs,
+ Error **errp);
int bdrv_all_find_snapshot(const char *name, BlockDriverState **first_bad_bs);
int bdrv_all_create_snapshot(QEMUSnapshotInfo *sn,
BlockDriverState *vm_state_bs,