aboutsummaryrefslogtreecommitdiff
path: root/include/block/snapshot.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/block/snapshot.h')
-rw-r--r--include/block/snapshot.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/block/snapshot.h b/include/block/snapshot.h
index 012bf226d3..d05bea7223 100644
--- a/include/block/snapshot.h
+++ b/include/block/snapshot.h
@@ -61,5 +61,10 @@ void bdrv_snapshot_delete_by_id_or_name(BlockDriverState *bs,
int bdrv_snapshot_list(BlockDriverState *bs,
QEMUSnapshotInfo **psn_info);
int bdrv_snapshot_load_tmp(BlockDriverState *bs,
- const char *snapshot_name);
+ const char *snapshot_id,
+ const char *name,
+ Error **errp);
+int bdrv_snapshot_load_tmp_by_id_or_name(BlockDriverState *bs,
+ const char *id_or_name,
+ Error **errp);
#endif