This fixes a regression in block-commit; if the top image is larger than the
base image, we attempt to resize the base image.  The regression is that we
fail the image truncate operation, returning -EBUSY.

Jeff Cody (2):
  block: check for RESIZE blocker in the QMP command, not
    bdrv_truncate()
  block: add qemu-iotest for resize base during live commit

 block.c                    |  4 +--
 blockdev.c                 |  5 +++
 tests/qemu-iotests/095     | 86 ++++++++++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/095.out | 31 +++++++++++++++++
 tests/qemu-iotests/group   |  1 +
 5 files changed, 124 insertions(+), 3 deletions(-)
 create mode 100755 tests/qemu-iotests/095
 create mode 100644 tests/qemu-iotests/095.out

-- 
1.9.3


Reply via email to