diff options
author | Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru> | 2020-10-03 20:13:02 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-10-06 08:34:49 +0200 |
commit | bbacffc5f7a1a9318afe62f4eb20b3584acb6aa1 (patch) | |
tree | afeda8bf70bf4cefa8609f80b9c9ce3f441c4034 /docs/interop | |
parent | 56db1198a417838f17ffb7a7546c731deab02938 (diff) | |
download | qemu-bbacffc5f7a1a9318afe62f4eb20b3584acb6aa1.zip qemu-bbacffc5f7a1a9318afe62f4eb20b3584acb6aa1.tar.gz qemu-bbacffc5f7a1a9318afe62f4eb20b3584acb6aa1.tar.bz2 |
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>
Diffstat (limited to 'docs/interop')
-rw-r--r-- | docs/interop/qcow2.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/interop/qcow2.txt b/docs/interop/qcow2.txt index 7da0d81..0463f76 100644 --- a/docs/interop/qcow2.txt +++ b/docs/interop/qcow2.txt @@ -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. |