qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 00/11] icount/replay additions
@ 2016-09-15  8:09 Pavel Dovgalyuk
  2016-09-15  8:09 ` [Qemu-devel] [PATCH v2 01/11] target-ppc: exceptions handling in icount mode Pavel Dovgalyuk
  2016-09-15  8:10 ` [Qemu-devel] [PATCH v2 02/11] record/replay: add network support Pavel Dovgalyuk
  0 siblings, 2 replies; 7+ messages in thread
From: Pavel Dovgalyuk @ 2016-09-15  8:09 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell, mst, jasowang, quintela, agraf, pbonzini, david

This set of patches includes several fixes for replay and
adds network record/replay for network devices. It also makes possible
saving/restoring vmstate in replay mode.

Record and replay for network interactions is performed with the network filter.
Each backend must have its own instance of the replay filter as follows:
 -netdev user,id=net1 -device rtl8139,netdev=net1
 -object filter-replay,id=replay,netdev=net1

This patches add overlay option for blkreplay block driver. Using persistent
overlay file allows saving and reloading VM snapshots in replay mode.
Replay mechanism automatically creates one snapshot named 'replay_init' to
allow rewinding execution while replaying.
Overlay file may be specified as follows:
 -drive file=disk.qcow,if=none,id=img-direct 
 -drive driver=blkreplay,if=none,image=img-direct,overlay=overlay.qcow2,id=img-blkreplay 
 -device ide-hd,drive=img-blkreplay

This set of patches includes fixes and additions for icount and
record/replay implementation:
 - Fixing icount processing on exceptions in PPC
 - Enabling VM start/stop in replay mode
 - Adding network interaction record/replay
 - Adding overlay option for blkreplay filter
 - Fixes of the vmstate for several virtual devices

---

Pavel Dovgalyuk (11):
      target-ppc: exceptions handling in icount mode
      record/replay: add network support
      block: set snapshot option for block devices in blkreplay module
      block: don't make snapshots for filters
      replay: save/load initial state
      replay: move internal data to the structure
      replay: vmstate for replay module
      replay: allow replay stopping and restarting
      kvmvapic: fix state change handler
      pcspk: adding vmstate for save/restore
      integratorcp: adding vmstate for save/restore


 block/blkreplay.c            |  132 +++++++++++++++++++++++++++--
 block/snapshot.c             |    3 +
 cpus.c                       |    1 
 docs/replay.txt              |   22 +++++
 hw/arm/integratorcp.c        |   62 ++++++++++++++
 hw/audio/pcspk.c             |   17 +++-
 hw/i386/kvmvapic.c           |    1 
 include/sysemu/replay.h      |   26 ++++++
 net/Makefile.objs            |    1 
 net/filter-replay.c          |   90 ++++++++++++++++++++
 replay/Makefile.objs         |    2 
 replay/replay-events.c       |   21 ++++-
 replay/replay-internal.c     |   19 ++--
 replay/replay-internal.h     |   26 +++++-
 replay/replay-net.c          |  110 ++++++++++++++++++++++++
 replay/replay-snapshot.c     |   72 ++++++++++++++++
 replay/replay-time.c         |    2 
 replay/replay.c              |   17 ++--
 stubs/replay.c               |    5 +
 target-ppc/cpu.h             |    3 +
 target-ppc/excp_helper.c     |   38 ++++++--
 target-ppc/fpu_helper.c      |  192 ++++++++++++++++++++++--------------------
 target-ppc/helper.h          |    1 
 target-ppc/mem_helper.c      |    6 +
 target-ppc/misc_helper.c     |    8 +-
 target-ppc/mmu-hash64.c      |   12 +--
 target-ppc/mmu_helper.c      |   18 ++--
 target-ppc/timebase_helper.c |   21 ++---
 target-ppc/translate.c       |   76 +----------------
 vl.c                         |    9 ++
 30 files changed, 768 insertions(+), 245 deletions(-)
 create mode 100644 net/filter-replay.c
 create mode 100644 replay/replay-net.c
 create mode 100644 replay/replay-snapshot.c

-- 
Pavel Dovgalyuk

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-09-20 14:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-15  8:09 [Qemu-devel] [PATCH v2 00/11] icount/replay additions Pavel Dovgalyuk
2016-09-15  8:09 ` [Qemu-devel] [PATCH v2 01/11] target-ppc: exceptions handling in icount mode Pavel Dovgalyuk
2016-09-20  5:51   ` David Gibson
2016-09-20  8:42     ` Pavel Dovgalyuk
2016-09-20  8:54       ` Benjamin Herrenschmidt
2016-09-20 13:15       ` 'David Gibson'
2016-09-15  8:10 ` [Qemu-devel] [PATCH v2 02/11] record/replay: add network support Pavel Dovgalyuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).