diff options
author | Kevin Wolf <kwolf@redhat.com> | 2017-02-17 11:23:33 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-02-24 16:09:23 +0100 |
commit | 7dad9ee6467e0e3024fbe09f8a363148558b8eef (patch) | |
tree | 4a8e6364b206fa01fc51c64c3ef344eaa9765ce8 /qga/channel.h | |
parent | 2c3b44da07d341557a8203cc509ea07fe3605e11 (diff) |
blockdev: Use BlockBackend to resize in qmp_block_resize()
In order to be able to do permission checking and to keep working with
the BdrvChild based bdrv_truncate() that this involves, we need to
create a temporary BlockBackend to resize the image.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'qga/channel.h')
0 files changed, 0 insertions, 0 deletions