qcow2: introduce icount field for snapshots
commitbbacffc5f7a1a9318afe62f4eb20b3584acb6aa1
authorPavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
Sat, 3 Oct 2020 17:13:02 +0000 (3 20:13 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Oct 2020 06:34:49 +0000 (6 08:34 +0200)
treeafeda8bf70bf4cefa8609f80b9c9ce3f441c4034
parent56db1198a417838f17ffb7a7546c731deab02938
qcow2: introduce icount field for snapshots

This patch introduces the icount field for saving within the snapshot.
It is required for navigation between the snapshots in record/replay mode.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Acked-by: Kevin Wolf <kwolf@redhat.com>
--

v7 changes:
 - also fix the test which checks qcow2 snapshot extra data
Message-Id: <160174518284.12451.2301137308458777398.stgit@pasha-ThinkPad-X280>

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
block/qcow2-snapshot.c
block/qcow2.h
docs/interop/qcow2.txt
tests/qemu-iotests/261
tests/qemu-iotests/261.out