diff options
author | Denis V. Lunev <den@openvz.org> | 2015-11-19 09:42:10 +0300 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2015-11-19 11:50:00 +0100 |
commit | 7cb14481498e7acd969a76b53be0535cd90f7d53 (patch) | |
tree | 53e94877d1e4dae89962a5199694c03255603629 /include/block/snapshot.h | |
parent | 0b46160521ab72744da94988583a45d4d45e2986 (diff) | |
download | qemu-7cb14481498e7acd969a76b53be0535cd90f7d53.zip |
migration: implement bdrv_all_find_vmstate_bs helper
The patch also ensures proper locking for the operation.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
CC: Kevin Wolf <kwolf@redhat.com>
Tested-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include/block/snapshot.h')
-rw-r--r-- | include/block/snapshot.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/block/snapshot.h b/include/block/snapshot.h index 55e995a3fe..c6910da63a 100644 --- a/include/block/snapshot.h +++ b/include/block/snapshot.h @@ -91,4 +91,6 @@ int bdrv_all_create_snapshot(QEMUSnapshotInfo *sn, uint64_t vm_state_size, BlockDriverState **first_bad_bs); +BlockDriverState *bdrv_all_find_vmstate_bs(void); + #endif |