From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43292) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7GBj-0001Kv-Oy for qemu-devel@nongnu.org; Sat, 25 Jan 2014 22:15:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7GBd-0001xg-Q7 for qemu-devel@nongnu.org; Sat, 25 Jan 2014 22:15:11 -0500 Received: from [222.73.24.84] (port=4538 helo=song.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7GBd-0001iw-EM for qemu-devel@nongnu.org; Sat, 25 Jan 2014 22:15:05 -0500 From: Hu Tao Date: Sun, 26 Jan 2014 11:12:36 +0800 Message-Id: Subject: [Qemu-devel] [PATCH v5 0/4] qemu-img: fix bugs when cluster size is larger than the default value List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , =?UTF-8?q?Beno=C3=AEt=20Canet?= This series fixes several bugs of qcow2 when doing preallocation with a cluster_size larger than the default value. v5: - limit cur_nr_sectors for the encrypted case (patch 1) - fix some grammar problems in commit messages and make commit messages more understandable Hu Tao (4): qcow2: remove n_start and n_end of qcow2_alloc_cluster_offset() qcow2: fix offset overflow in qcow2_alloc_clusters_at() qcow2: check for NULL l2meta qemu-iotests: add test for qcow2 preallocation with different cluster sizes block/qcow2-cluster.c | 14 +++++------ block/qcow2-refcount.c | 8 +++++- block/qcow2.c | 44 ++++++++++++++++---------------- block/qcow2.h | 2 +- tests/qemu-iotests/079 | 63 ++++++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/079.out | 32 +++++++++++++++++++++++ tests/qemu-iotests/group | 1 + trace-events | 2 +- 8 files changed, 134 insertions(+), 32 deletions(-) create mode 100755 tests/qemu-iotests/079 create mode 100644 tests/qemu-iotests/079.out -- 1.8.5.2.229.g4448466