diff options
Diffstat (limited to 'include/block')
-rw-r--r-- | include/block/snapshot.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/block/snapshot.h b/include/block/snapshot.h index 770d9bb..6195c9c 100644 --- a/include/block/snapshot.h +++ b/include/block/snapshot.h @@ -75,4 +75,12 @@ int bdrv_snapshot_load_tmp(BlockDriverState *bs, int bdrv_snapshot_load_tmp_by_id_or_name(BlockDriverState *bs, const char *id_or_name, Error **errp); + + +/* Group operations. All block drivers are involved. + * These functions will properly handle dataplane (take aio_context_acquire + * when appropriate for appropriate block drivers */ + +bool bdrv_all_can_snapshot(BlockDriverState **first_bad_bs); + #endif |