mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
56db1198a4
commit
bbacffc5f7
5 changed files with 58 additions and 23 deletions
|
@ -707,6 +707,11 @@ Snapshot table entry:
|
|||
|
||||
Byte 48 - 55: Virtual disk size of the snapshot in bytes
|
||||
|
||||
Byte 56 - 63: icount value which corresponds to
|
||||
the record/replay instruction count
|
||||
when the snapshot was taken. Set to -1
|
||||
if icount was disabled
|
||||
|
||||
Version 3 images must include extra data at least up to
|
||||
byte 55.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue