summary refs log tree commit diff stats
path: root/hw/lm32/lm32_hwsetup.h
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2016-02-05 10:00:29 +0800
committerJeff Cody <jcody@redhat.com>2016-02-29 14:54:31 -0500
commite5b43573e28b226621ac6ed9ad71e1a72d71922d (patch)
tree1137434929c04ac38ec39855957c560de1496062 /hw/lm32/lm32_hwsetup.h
parent04a3615860d693cbf5da015ee136a313628a42be (diff)
downloadfocaccia-qemu-e5b43573e28b226621ac6ed9ad71e1a72d71922d.tar.gz
focaccia-qemu-e5b43573e28b226621ac6ed9ad71e1a72d71922d.zip
mirror: Rewrite mirror_iteration
The "pnum < nb_sectors" condition in deciding whether to actually copy
data is unnecessarily strict, and the qiov initialization is
unnecessarily for bdrv_aio_write_zeroes and bdrv_aio_discard.

Rewrite mirror_iteration to fix both flaws.

The output of iotests 109 is updated because we now report the offset
and len slightly differently in mirroring progress.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 1454637630-10585-2-git-send-email-famz@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'hw/lm32/lm32_hwsetup.h')
0 files changed, 0 insertions, 0 deletions