[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH] block: Create proper size file for disk mirro
Re: [Qemu-trivial] [PATCH] block: Create proper size file for disk mirror
Fri, 25 Jan 2013 10:31:06 +0100
On Thu, Jan 24, 2013 at 10:00:40AM -0800, Vishvananda Ishaya wrote:
> 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>
> Fixes https://bugs.launchpad.net/qemu/+bug/1103903
> blockdev.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Also CCed Paolo Bonzini who wrote the code.
Reviewed-by: Stefan Hajnoczi <address@hidden>