diff options
author | Max Reitz <mreitz@redhat.com> | 2015-07-27 17:51:32 +0200 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:28:20 -0600 |
commit | 3dcae79583ed316e523afbc96a8414645beff5ec (patch) | |
tree | f13aa6d4ec8ff4fc87355bd01c57ad772500da3a /block/qcow2.h | |
parent | d91daa98a4d3fddc3abe5a932daaea0b76b9869d (diff) | |
download | hqemu-3dcae79583ed316e523afbc96a8414645beff5ec.zip hqemu-3dcae79583ed316e523afbc96a8414645beff5ec.tar.gz |
block: Add opaque value to the amend CB
Add an opaque value which is to be passed to the bdrv_amend_options()
status callback.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/qcow2.h')
-rw-r--r-- | block/qcow2.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/block/qcow2.h b/block/qcow2.h index b8c500b..a9794de 100644 --- a/block/qcow2.h +++ b/block/qcow2.h @@ -553,7 +553,8 @@ int qcow2_discard_clusters(BlockDriverState *bs, uint64_t offset, int qcow2_zero_clusters(BlockDriverState *bs, uint64_t offset, int nb_sectors); int qcow2_expand_zero_clusters(BlockDriverState *bs, - BlockDriverAmendStatusCB *status_cb); + BlockDriverAmendStatusCB *status_cb, + void *cb_opaque); /* qcow2-snapshot.c functions */ int qcow2_snapshot_create(BlockDriverState *bs, QEMUSnapshotInfo *sn_info); |