Received: from eggs.gnu.org ([2001:4830:134:3::10]:33411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asSam-000176-Hj for qemu-devel@nongnu.org; Tue, 19 Apr 2016 06:09:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asSal-0001Mi-LA for qemu-devel@nongnu.org; Tue, 19 Apr 2016 06:09:12 -0400 From: Fam Zheng Date: Tue, 19 Apr 2016 18:09:06 +0800 Message-Id: <1461060549-8667-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] block: Fix drive-mirror with image size unaligned with granularity List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Jeff Cody , Kevin Wolf , Max Reitz , qemu-block@nongnu.org This fixes the bug introduced in e5b43573e28 and lately noticed by Kevin. Fam Zheng (3): mirror: Don't extend the last sub-chunk iotests: Add iotests.image_size iotests: Test case for drive-mirror with unaligned image size block/mirror.c | 10 +++++++++ tests/qemu-iotests/109.out | 44 ++++++++++++++++++------------------- tests/qemu-iotests/152 | 51 +++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/152.out | 5 +++++ tests/qemu-iotests/group | 1 + tests/qemu-iotests/iotests.py | 6 +++++ 6 files changed, 95 insertions(+), 22 deletions(-) create mode 100644 tests/qemu-iotests/152 create mode 100644 tests/qemu-iotests/152.out -- 2.8.0