[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH] block: Create proper size file for disk mirro
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-trivial] [PATCH] block: Create proper size file for disk mirror |
Date: |
Fri, 25 Jan 2013 10:18:26 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 |
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 file, which is incorrect if the disk
> has been resized. Therefore we should always pass in the size of
> the current disk.
>
> Signed-off-by: Vishvananda Ishaya <address@hidden>
Thanks, applied to the block branch.
Can you send a qemu-iotests test case that tests this condition?
(Probably best as an extension to case 041)
Kevin