On 05/23/2018 01:50 AM, Pavel Dovgalyuk wrote:
Saving icount as a parameters of the snapshot allows navigation between
them in the execution replay scenario.
This information can be used for finding a specific snapshot for rewinding
the recorded execution to the specific moment of the time.
E.g., 'reverse step' action needs to load the nearest snapshot which is
prior to the current moment of time .
Signed-off-by: Pavel Dovgalyuk <pavel.dovga...@ispras.ru>
--
v2:
- made icount in SnapshotInfo optional (suggested by Eric Blake)
---
+++ b/qapi/block-core.json
@@ -25,13 +25,16 @@
#
# @vm-clock-nsec: fractional part in nano seconds to be used with vm-clock-sec
#
+# @icount: current instruction count for execution record/replay (since 2.13)
Except now we have moved to calling the next release 3.0 ;)
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org