This set of patches includes several fixes for replay and vmstate. This patches add rrsnapshot option for icount. rrshapshot option creates start snapshot at record and loads it at replay. It allows preserving the state of disk images used by virtual machine. This vm state can also use used to roll back the execution while replaying.
This set of patches includes fixes and additions for icount and record/replay implementation: - VM start/stop in replay mode - overlay creation for blkreplay filter - rrsnapshot option for record/replay - vmstate fix for integratorcp ARM platform - vmstate fixes for apic and rtc v6 changes: - Added overlay creation for blkreplay driver - Fixed vmstate loading for apic and rtc - Fixed instruction counting for apic instruction patching v5 changes: - Recording is stopped when initial snapshot cannot be created - Minor changes v4 changes: - Overlay option is removed from blkreplay driver (as suggested by Paolo Bonzini) - Minor changes v3 changes: - Added rrsnapshot option for specifying the initial snapshot name (as suggested by Paolo Bonzini) - Minor changes --- Pavel Dovgalyuk (9): icount: update instruction counter on apic patching replay: improve interrupt handling apic: save apic_delivered flag replay: don't use rtc clock on loadvm phase integratorcp: adding vmstate for save/restore savevm: add public save_vmstate function replay: save/load initial state block: implement bdrv_snapshot_goto for blkreplay blkreplay: create temporary overlay for underlaying devices block/blkreplay.c | 84 +++++++++++++++++++++++++++++++++++++++ cpu-exec.c | 2 - docs/replay.txt | 16 +++++++ hw/arm/integratorcp.c | 62 +++++++++++++++++++++++++++++ hw/i386/kvmvapic.c | 6 +++ hw/intc/apic_common.c | 32 +++++++++++++++ hw/timer/mc146818rtc.c | 14 +++++-- include/hw/i386/apic_internal.h | 2 + include/sysemu/replay.h | 9 ++++ include/sysemu/sysemu.h | 1 migration/savevm.c | 33 ++++++++++----- qemu-options.hx | 8 +++- replay/replay-snapshot.c | 17 ++++++++ replay/replay.c | 5 ++ stubs/replay.c | 1 target-i386/seg_helper.c | 1 vl.c | 9 +++- 17 files changed, 282 insertions(+), 20 deletions(-) -- Pavel Dovgalyuk