[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v8 0/9] replay additions
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v8 0/9] replay additions |
Date: |
Thu, 26 Jan 2017 14:05:23 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
On 26/01/2017 13:34, Pavel Dovgalyuk wrote:
> 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.
>
> With these patches operations with audio devices can also be recorded
> and replayed. All interactions with passthrough audio (including
> microphone input) are recorded automatically when -soundhw is specified
> at the command line.
>
> 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
> - fixes for icount record/replay mode
> - record/replay for audio devices
>
> 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 (9):
> replay: exception replay fix
> icount: exit cpu loop on expire
> apic: save apic_delivered flag
> integratorcp: adding vmstate for save/restore
> block: implement bdrv_snapshot_goto for blkreplay
> blkreplay: create temporary overlay for underlaying devices
> replay: disable default snapshot for record/replay
> audio: make audio poll timer deterministic
> replay: add record/replay for audio passthrough
>
>
> audio/audio.c | 15 +++++--
> audio/audio.h | 5 ++
> audio/mixeng.c | 31 ++++++++++++++
> block/blkreplay.c | 84
> +++++++++++++++++++++++++++++++++++++++
> cpu-exec.c | 24 +++++++++--
> docs/replay.txt | 7 +++
> hw/arm/integratorcp.c | 62 +++++++++++++++++++++++++++++
> hw/intc/apic_common.c | 37 +++++++++++++++++
> include/hw/i386/apic_internal.h | 2 +
> include/sysemu/replay.h | 7 +++
> replay/Makefile.objs | 1
> replay/replay-audio.c | 79 +++++++++++++++++++++++++++++++++++++
> replay/replay-internal.h | 4 ++
> stubs/replay.c | 1
> translate-all.c | 3 +
> vl.c | 10 ++++-
> 16 files changed, 361 insertions(+), 11 deletions(-)
> create mode 100644 replay/replay-audio.c
>
Queued patch 1 too.
Thanks for following my reviews. Record/replay has the potential of
making the code either much better or much worse, and I know we can make
it better because it's what happened for icount. But if it makes the
code worse, at some point it becomes a labyrinth and the only choice is
to remove RR support. :( So let's avoid that!
Paolo
Paolo
- Re: [Qemu-devel] [PATCH v8 3/9] apic: save apic_delivered flag, (continued)
[Qemu-devel] [PATCH v8 4/9] integratorcp: adding vmstate for save/restore, Pavel Dovgalyuk, 2017/01/26
[Qemu-devel] [PATCH v8 5/9] block: implement bdrv_snapshot_goto for blkreplay, Pavel Dovgalyuk, 2017/01/26
[Qemu-devel] [PATCH v8 6/9] blkreplay: create temporary overlay for underlaying devices, Pavel Dovgalyuk, 2017/01/26
[Qemu-devel] [PATCH v8 7/9] replay: disable default snapshot for record/replay, Pavel Dovgalyuk, 2017/01/26
[Qemu-devel] [PATCH v8 8/9] audio: make audio poll timer deterministic, Pavel Dovgalyuk, 2017/01/26
[Qemu-devel] [PATCH v8 9/9] replay: add record/replay for audio passthrough, Pavel Dovgalyuk, 2017/01/26
Re: [Qemu-devel] [PATCH v8 0/9] replay additions,
Paolo Bonzini <=