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 <vishvana...@gmail.com> > --- > 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 <stefa...@redhat.com>