]> git.proxmox.com Git - mirror_qemu.git/commit
qcow2_format: refactor QcowHeaderExtension as a subclass of Qcow2Struct
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Sat, 6 Jun 2020 08:18:04 +0000 (11:18 +0300)
committerEric Blake <eblake@redhat.com>
Tue, 9 Jun 2020 20:47:09 +0000 (15:47 -0500)
commita9e750e1ce0bfcca1ff51c71e66eb4b0f66061a8
tree278414162e4a19ec32bae96dca2095bf4e4c3138
parent0931fcc7beb1c2461f094e16720a979e749085e9
qcow2_format: refactor QcowHeaderExtension as a subclass of Qcow2Struct

Only two fields we can parse by generic code, but that is better than
nothing. Keep further refactoring of variable-length fields for another
day.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Message-Id: <20200606081806.23897-12-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
tests/qemu-iotests/qcow2_format.py