[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for-1.5 0/3] qcow2: Catch some L1 table index overfl
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] [PATCH for-1.5 0/3] qcow2: Catch some L1 table index overflows |
Date: |
Mon, 13 May 2013 15:42:53 +0200 |
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
- [Qemu-devel] [PATCH for-1.5 0/3] qcow2: Catch some L1 table index overflows,
Kevin Wolf <=