This test verifies two mirroring issues are fixed with resized images:
* sync='top' creates an image that is the proper size
* sync='full' doesn't cause an assertion failure and crash qemu
---
These are tests for my patches for the following bugs:
https://bugs.launchpad.net/qemu/+bug/1103868
ht
On Jan 25, 2013, at 1:18 AM, Kevin Wolf wrote:
> Am 24.01.2013 19:00, schrieb Vishvananda Ishaya:
>> The qmp monitor command to mirror a disk was passing -1 for size
>> along with the disk's backing file. This size of the resulting disk
>> is the size of the backing f
will fail its assertion.
Signed-off-by: Vishvananda Ishaya
---
Fixes https://bugs.launchpad.net/qemu/+bug/1103868
block.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/block.c b/block.c
index 6fa7c90..6474d9e 100644
--- a/block.c
+++ b/block.c
@@ -2831,7 +2831,9 @@ int
ff-by: Vishvananda Ishaya
---
Fixes https://bugs.launchpad.net/qemu/+bug/1103903
blockdev.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/blockdev.c b/blockdev.c
index 9126587..bb63162 100644
--- a/blockdev.c
+++ b/blockdev.c
@@ -1259,11 +1259,11 @@ void qmp_drive_m