[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH v5 0/3] Fix overflow bug in qcow2 discard
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
[Qemu-block] [PATCH v5 0/3] Fix overflow bug in qcow2 discard |
Date: |
Tue, 23 Apr 2019 15:57:03 +0300 |
v5: by Kevin's comments
02: add check for invalid @bytes parameter, drop r-b
03: move from qemu-img info to qemu-img map -f raw, drop r-b and t-b
Vladimir Sementsov-Ogievskiy (3):
block/qcow2-refcount: add trace-point to qcow2_process_discards
block/io: bdrv_pdiscard: support int64_t bytes parameter
iotests: test big qcow2 shrink
include/block/block.h | 4 +--
block/io.c | 16 ++++-----
block/qcow2-refcount.c | 7 +++-
block/trace-events | 3 ++
tests/qemu-iotests/250 | 73 ++++++++++++++++++++++++++++++++++++++
tests/qemu-iotests/250.out | 23 ++++++++++++
tests/qemu-iotests/group | 1 +
7 files changed, 116 insertions(+), 11 deletions(-)
create mode 100755 tests/qemu-iotests/250
create mode 100644 tests/qemu-iotests/250.out
--
2.18.0
- [Qemu-block] [PATCH v5 0/3] Fix overflow bug in qcow2 discard,
Vladimir Sementsov-Ogievskiy <=
[Qemu-block] [PATCH v5 3/3] iotests: test big qcow2 shrink, Vladimir Sementsov-Ogievskiy, 2019/04/23