diff options
| author | Pavel Dovgalyuk | 2020-10-03 19:13:02 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2020-10-06 08:34:49 +0200 |
| commit | bbacffc5f7a1a9318afe62f4eb20b3584acb6aa1 (patch) | |
| tree | afeda8bf70bf4cefa8609f80b9c9ce3f441c4034 /docs/interop | |
| parent | replay: provide an accessor for rr filename (diff) | |
| download | qemu-bbacffc5f7a1a9318afe62f4eb20b3584acb6aa1.tar.gz qemu-bbacffc5f7a1a9318afe62f4eb20b3584acb6aa1.tar.xz qemu-bbacffc5f7a1a9318afe62f4eb20b3584acb6aa1.zip | |
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 7da0d81df8..0463f761ef 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. |
