diff options
author | Kevin Wolf <kwolf@redhat.com> | 2017-11-20 15:28:41 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-11-21 14:48:22 +0100 |
commit | 0b62bcbc61c0cd4c9e7fb3863cf5dc8016b0b4ed (patch) | |
tree | 1c1bd135fafcacd62f4ae1799831242f50e2344e /include/block | |
parent | 1f4ad7d3b8f7162ec0471506d86f57a5d77b8f76 (diff) |
block: Add errp to bdrv_snapshot_goto()
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/block/snapshot.h b/include/block/snapshot.h index e5c0553115..aeb80405e8 100644 --- a/include/block/snapshot.h +++ b/include/block/snapshot.h @@ -57,7 +57,8 @@ int bdrv_can_snapshot(BlockDriverState *bs); int bdrv_snapshot_create(BlockDriverState *bs, QEMUSnapshotInfo *sn_info); int bdrv_snapshot_goto(BlockDriverState *bs, - const char *snapshot_id); + const char *snapshot_id, + Error **errp); int bdrv_snapshot_delete(BlockDriverState *bs, const char *snapshot_id, const char *name, |