diff options
| author | Kevin Wolf | 2017-02-17 11:23:33 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2017-02-24 16:09:23 +0100 |
| commit | 7dad9ee6467e0e3024fbe09f8a363148558b8eef (patch) | |
| tree | 4a8e6364b206fa01fc51c64c3ef344eaa9765ce8 /block | |
| parent | iotests: Fix another race in 030 (diff) | |
| download | qemu-7dad9ee6467e0e3024fbe09f8a363148558b8eef.tar.gz qemu-7dad9ee6467e0e3024fbe09f8a363148558b8eef.tar.xz qemu-7dad9ee6467e0e3024fbe09f8a363148558b8eef.zip | |
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 'block')
0 files changed, 0 insertions, 0 deletions
