Skip to content

replay additions

Pavel Dovgalyuk qemu-devel 10 versions – In review

Get series with b4
b4 am 20170504084135.7488.24715.stgit@PASHA-ISP

Versions newest first · linked by author and title

  1. v9 Latest10 patches 16 repliesIn review
  2. v89 patches 12 repliesSuperseded
  3. v714 patches 17 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v69 patches0 repliesSuperseded
v59 patches26 repliesApplied
v48 patches13 repliesSuperseded
v38 patches12 repliesSuperseded
v2 posting 2/210 patches16 repliesApplied
v2 posting 1/22 of 11 patches4 repliesSuperseded
v13 patches5 repliesSuperseded

Changes in v9 from the cover letter

- Added vmstate for host clock parameters and icount timers
- Fixed replay event queue issues
- Fixed vm stopping while recording or replaying the execution
- Fixed save/load vmstate issues in record/replay mode

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10block: implement bdrv_snapshot_goto for blkreplayblock/blkreplay.c+8 -00 replies
2/10blkreplay: create temporary overlay for underlaying devicesblock/blkreplay.c stubs/replay.c vl.c+67 -10 replies
3/10replay: disable default snapshot for record/replayvl.c+7 -10 replies
4/10replay: fix processing async eventsreplay/replay-events.c+2 -22 replies
5/10replay: fixed replay_enable_eventsreplay/replay-events.c+5 -30 replies
6/10replay: fix save/load vm for non-empty queueinclude/sysemu/replay.h migration/savevm.c replay/replay-snapshot.c+22 -014 replies
7/10replay: added replay log format descriptiondocs/replay.txt+69 -00 replies
8/10replay: make safe vmstop at record/replaycpus.c+4 -30 replies
9/10replay: save prior value of the host clockinclude/qemu/timer.h replay/replay-internal.h replay/replay-snapshot.c +1 more+31 -00 replies
10/10icount: fixed saving/restoring of icount warp timerscpus.c+64 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v9 yet.

Read the v9 thread

Cover letter [Qemu-devel] [PATCH v9 00/10] replay additions

This set of patches fixes some vmstate creation (and loading) issues in record/replay modes:
- VM start/stop fixes in replay mode
- overlay creation for blkreplay filter
- fixes for vmstate save/load in record/replay mode
- fixes for host clock vmstate
- fixes for icount timers vmstate

v9 changes:
- Added vmstate for host clock parameters and icount timers
- Fixed replay event queue issues
- Fixed vm stopping while recording or replaying the execution
- Fixed save/load vmstate issues in record/replay mode

v8 changes:
- Refined replay exception processing (as suggested by Paolo Bonzini)
- Saving/restoring static variable for APIC only once (as suggested by Paolo Bonzini)
- Removed already queued patches
- Minor fixes

v7 changes:
- Fixed exception replaying when TB cache is full and
when tb_find is called when there are no instructions about to execute
- Added record/replay for audio devices

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 (10):
block: implement bdrv_snapshot_goto for blkreplay
blkreplay: create temporary overlay for underlaying devices
replay: disable default snapshot for record/replay
replay: fix processing async events
replay: fixed replay_enable_events
replay: fix save/load vm for non-empty queue
replay: added replay log format description
replay: make safe vmstop at record/replay
replay: save prior value of the host clock
icount: fixed saving/restoring of icount warp timers

 block/blkreplay.c        |   73 +++++++++++++++++++++++++++++++++++++
 cpus.c                   |   90 +++++++++++++++++++++++++++++++++++-----------
 docs/replay.txt          |   69 +++++++++++++++++++++++++++++++++++
 include/qemu/timer.h     |   14 +++++++
 include/sysemu/replay.h  |    3 ++
 migration/savevm.c       |   13 +++++++
 replay/replay-events.c   |   12 ++++--
 replay/replay-internal.h |    2 +
 replay/replay-snapshot.c |    9 +++++
 stubs/replay.c           |    1 +
 util/qemu-timer.c        |   12 ++++++
 vl.c                     |   10 ++++-
 12 files changed, 279 insertions(+), 29 deletions(-)
Signature · 1 line
Pavel Dovgalyuk