mbox series

[v8,00/10] iotests: Dump QCOW2 dirty bitmaps metadata

Message ID 1593782030-521984-1-git-send-email-andrey.shinkevich@virtuozzo.com (mailing list archive)
Headers show
Series iotests: Dump QCOW2 dirty bitmaps metadata | expand


Andrey Shinkevich July 3, 2020, 1:13 p.m. UTC
Add dirty bitmap information to QCOW2 metadata dump in the qcow2_format.py.

  01: Hard refactoring of the v7 code in qcow2_format.py based on Vladimir's
      review. See the thread with the message ID:

Andrey Shinkevich (10):
  qcow2: Fix capitalization of header extension constant.
  qcow2_format.py: make printable data an extension class member
  qcow2_format.py: change Qcow2BitmapExt initialization method
  qcow2_format.py: dump bitmap flags in human readable way.
  qcow2_format.py: Dump bitmap directory information
  qcow2_format.py: pass cluster size to substructures
  qcow2_format.py: Dump bitmap table serialized entries
  qcow2.py: Introduce '-j' key to dump in JSON format
  qcow2_format.py: collect fields to dump in JSON format
  qcow2_format.py: support dumping metadata in JSON format

 block/qcow2.c                      |   2 +-
 docs/interop/qcow2.txt             |   2 +-
 tests/qemu-iotests/291.out         |  90 ++++++++++++++++
 tests/qemu-iotests/qcow2.py        |  19 +++-
 tests/qemu-iotests/qcow2_format.py | 212 ++++++++++++++++++++++++++++++++++---
 5 files changed, 304 insertions(+), 21 deletions(-)