From: Paolo Bonzini <pbonzini@redhat.com>
To: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>, qemu-devel@nongnu.org
Cc: kwolf@redhat.com, peter.maydell@linaro.org, quintela@redhat.com,
jasowang@redhat.com, mst@redhat.com, kraxel@redhat.com
Subject: Re: [Qemu-devel] [PATCH v7 00/14] replay additions
Date: Wed, 25 Jan 2017 12:12:07 +0100 [thread overview]
Message-ID: <5d1244b7-a861-7b5d-eb1e-670548c67205@redhat.com> (raw)
In-Reply-To: <20170124071654.4572.41407.stgit@PASHA-ISP>
On 24/01/2017 08:16, 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
>
> 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
Queued patches 1, 2, 6, 8, 9.
Please post patches for ARM, block and audio maintainers separately if
you don't get attention soon.
Paolo
> 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 (14):
> icount: update instruction counter on apic patching
> replay: improve interrupt handling
> replay: exception replay fix
> icount: exit cpu loop on expire
> 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
> 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 | 21 ++++++++--
> docs/replay.txt | 23 +++++++++++
> 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 | 16 +++++++
> include/sysemu/sysemu.h | 1
> migration/savevm.c | 33 ++++++++++-----
> qemu-options.hx | 8 +++-
> replay/Makefile.objs | 1
> replay/replay-audio.c | 79 +++++++++++++++++++++++++++++++++++++
> replay/replay-internal.h | 4 ++
> replay/replay-snapshot.c | 17 ++++++++
> replay/replay.c | 5 ++
> stubs/replay.c | 1
> target/i386/seg_helper.c | 1
> vl.c | 17 +++++++-
> 23 files changed, 450 insertions(+), 28 deletions(-)
> create mode 100644 replay/replay-audio.c
>
prev parent reply other threads:[~2017-01-25 11:12 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-24 7:16 [Qemu-devel] [PATCH v7 00/14] replay additions Pavel Dovgalyuk
2017-01-24 7:17 ` [Qemu-devel] [PATCH v7 01/14] icount: update instruction counter on apic patching Pavel Dovgalyuk
2017-01-24 7:17 ` [Qemu-devel] [PATCH v7 02/14] replay: improve interrupt handling Pavel Dovgalyuk
2017-01-24 7:17 ` [Qemu-devel] [PATCH v7 03/14] replay: exception replay fix Pavel Dovgalyuk
2017-01-25 10:50 ` Paolo Bonzini
2017-01-25 11:12 ` Pavel Dovgalyuk
2017-01-25 11:18 ` Paolo Bonzini
2017-01-25 11:33 ` Pavel Dovgalyuk
2017-01-25 11:56 ` Paolo Bonzini
2017-01-25 12:27 ` Pavel Dovgalyuk
2017-01-25 13:21 ` Paolo Bonzini
2017-01-25 13:26 ` Pavel Dovgalyuk
2017-01-24 7:17 ` [Qemu-devel] [PATCH v7 04/14] icount: exit cpu loop on expire Pavel Dovgalyuk
2017-01-25 11:06 ` Paolo Bonzini
2017-01-25 11:50 ` Pavel Dovgalyuk
2017-01-25 12:00 ` Paolo Bonzini
2017-01-24 7:17 ` [Qemu-devel] [PATCH v7 05/14] apic: save apic_delivered flag Pavel Dovgalyuk
2017-01-25 11:07 ` Paolo Bonzini
2017-01-25 11:52 ` Pavel Dovgalyuk
2017-01-25 11:57 ` Paolo Bonzini
2017-01-25 13:01 ` Pavel Dovgalyuk
2017-01-25 13:14 ` Paolo Bonzini
2017-01-24 7:17 ` [Qemu-devel] [PATCH v7 06/14] replay: don't use rtc clock on loadvm phase Pavel Dovgalyuk
2017-01-24 7:17 ` [Qemu-devel] [PATCH v7 07/14] integratorcp: adding vmstate for save/restore Pavel Dovgalyuk
2017-01-24 7:17 ` [Qemu-devel] [PATCH v7 08/14] savevm: add public save_vmstate function Pavel Dovgalyuk
2017-01-24 7:17 ` [Qemu-devel] [PATCH v7 09/14] replay: save/load initial state Pavel Dovgalyuk
2017-01-24 7:17 ` [Qemu-devel] [PATCH v7 10/14] block: implement bdrv_snapshot_goto for blkreplay Pavel Dovgalyuk
2017-01-24 7:17 ` [Qemu-devel] [PATCH v7 11/14] blkreplay: create temporary overlay for underlaying devices Pavel Dovgalyuk
2017-01-24 7:18 ` [Qemu-devel] [PATCH v7 12/14] replay: disable default snapshot for record/replay Pavel Dovgalyuk
2017-01-24 7:18 ` [Qemu-devel] [PATCH v7 13/14] audio: make audio poll timer deterministic Pavel Dovgalyuk
2017-01-24 7:18 ` [Qemu-devel] [PATCH v7 14/14] replay: add record/replay for audio passthrough Pavel Dovgalyuk
2017-01-24 7:43 ` [Qemu-devel] [PATCH v7 00/14] replay additions no-reply
2017-01-25 11:12 ` Paolo Bonzini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5d1244b7-a861-7b5d-eb1e-670548c67205@redhat.com \
--to=pbonzini@redhat.com \
--cc=jasowang@redhat.com \
--cc=kraxel@redhat.com \
--cc=kwolf@redhat.com \
--cc=mst@redhat.com \
--cc=pavel.dovgaluk@ispras.ru \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).