From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbtDL-0003Hx-GV for qemu-devel@nongnu.org; Mon, 13 May 2013 09:54:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UbtDJ-0003On-HF for qemu-devel@nongnu.org; Mon, 13 May 2013 09:54:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ubt1q-0007qZ-8e for qemu-devel@nongnu.org; Mon, 13 May 2013 09:43:02 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r4DDh18R026499 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 13 May 2013 09:43:01 -0400 From: Kevin Wolf Date: Mon, 13 May 2013 15:42:53 +0200 Message-Id: <1368452576-32262-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH for-1.5 0/3] qcow2: Catch some L1 table index overflows List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, rjones@redhat.com, stefanha@redhat.com Suggestions for a better test case are welcome. But now that creating a large image file fails, and if you somehow manage to create it anyway (qcow2.py) opening it fails, it's hard to test the actual read/write cases. Kevin Wolf (3): qcow2: Catch some L1 table index overflows qcow2.py: Subcommand for changing header fields qemu-iotests: Try creating huge qcow2 image block/qcow2-cluster.c | 23 ++++++++++++------ block/qcow2.c | 13 ++++++++-- block/qcow2.h | 5 ++-- tests/qemu-iotests/054 | 58 ++++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/054.out | 10 ++++++++ tests/qemu-iotests/common.rc | 2 +- tests/qemu-iotests/group | 1 + tests/qemu-iotests/qcow2.py | 12 +++++++++ 8 files changed, 111 insertions(+), 13 deletions(-) create mode 100755 tests/qemu-iotests/054 create mode 100644 tests/qemu-iotests/054.out -- 1.8.1.4