[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for 2.1 0/2] Fix commit of oversized layer
From: |
Jeff Cody |
Subject: |
[Qemu-devel] [PATCH for 2.1 0/2] Fix commit of oversized layer |
Date: |
Wed, 25 Jun 2014 16:55:29 -0400 |
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
- [Qemu-devel] [PATCH for 2.1 0/2] Fix commit of oversized layer,
Jeff Cody <=