qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 740b17: cpu-timers, icount: new modules


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 740b17: cpu-timers, icount: new modules
Date: Tue, 06 Oct 2020 13:15:38 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 740b175973427bcfa32ad894bb1f83b96d184c28
      
https://github.com/qemu/qemu/commit/740b175973427bcfa32ad894bb1f83b96d184c28
  Author: Claudio Fontana <cfontana@suse.de>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M MAINTAINERS
    M accel/qtest.c
    M accel/tcg/cpu-exec.c
    M accel/tcg/tcg-all.c
    M accel/tcg/translate-all.c
    M dma-helpers.c
    M exec.c
    M hw/core/ptimer.c
    M hw/i386/x86.c
    M include/exec/cpu-all.h
    M include/exec/exec-all.h
    M include/qemu/timer.h
    A include/sysemu/cpu-timers.h
    M include/sysemu/cpus.h
    M include/sysemu/qtest.h
    M replay/replay.c
    A softmmu/cpu-timers.c
    M softmmu/cpus.c
    A softmmu/icount.c
    M softmmu/meson.build
    M softmmu/qtest.c
    A softmmu/timers-state.h
    M softmmu/vl.c
    R stubs/clock-warp.c
    M stubs/cpu-get-clock.c
    R stubs/cpu-get-icount.c
    A stubs/icount.c
    M stubs/meson.build
    M stubs/qemu-timer-notify-cb.c
    M stubs/qtest.c
    M target/alpha/translate.c
    M target/arm/helper.c
    M target/riscv/csr.c
    M tests/ptimer-test-stubs.c
    M tests/test-timed-average.c
    M util/main-loop.c
    M util/qemu-timer.c

  Log Message:
  -----------
  cpu-timers, icount: new modules

refactoring of cpus.c continues with cpu timer state extraction.

cpu-timers: responsible for the softmmu cpu timers state,
            including cpu clocks and ticks.

icount: counts the TCG instructions executed. As such it is specific to
the TCG accelerator. Therefore, it is built only under CONFIG_TCG.

One complication is due to qtest, which uses an icount field to warp time
as part of qtest (qtest_clock_warp).

In order to solve this problem, provide a separate counter for qtest.

This requires fixing assumptions scattered in the code that
qtest_enabled() implies icount_enabled(), checking each specific case.

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
[remove redundant initialization with qemu_spice_init]
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
[fix lingering calls to icount_get]
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 8191d3684157884bf7e6eff0d247d7e91a1cc543
      
https://github.com/qemu/qemu/commit/8191d3684157884bf7e6eff0d247d7e91a1cc543
  Author: Claudio Fontana <cfontana@suse.de>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M accel/tcg/cpu-exec.c
    M docs/replay.txt
    M include/sysemu/cpu-timers.h
    M include/sysemu/replay.h
    M replay/replay.c
    M softmmu/cpu-timers.c
    M softmmu/cpus.c
    M softmmu/icount.c
    M softmmu/vl.c
    M stubs/icount.c
    M target/arm/helper.c
    M target/riscv/csr.c
    M util/main-loop.c
    M util/qemu-timer.c

  Log Message:
  -----------
  icount: rename functions to be consistent with the module name

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 430065dab060f04a74f915ea1260dcc79701ca75
      
https://github.com/qemu/qemu/commit/430065dab060f04a74f915ea1260dcc79701ca75
  Author: Claudio Fontana <cfontana@suse.de>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M hw/core/cpu.c
    M hw/i386/x86.c
    M include/sysemu/cpu-timers.h
    M include/sysemu/cpus.h
    M include/sysemu/hw_accel.h
    M softmmu/cpu-timers.c
    M softmmu/cpus.c
    A stubs/cpu-synchronize-state.c
    A stubs/cpus-get-virtual-clock.c
    M stubs/meson.build
    M util/qemu-timer.c

  Log Message:
  -----------
  cpus: prepare new CpusAccel cpu accelerator interface

The new interface starts unused, will start being used by the
next patches.

It provides methods for each accelerator to start a vcpu, kick a vcpu,
synchronize state, get cpu virtual clock and elapsed ticks.

In qemu_wait_io_event, make it clear that APC is used only for HAX
on Windows.

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: a77dabc33bcc36ec348854f23e89e0de22ca045b
      
https://github.com/qemu/qemu/commit/a77dabc33bcc36ec348854f23e89e0de22ca045b
  Author: Claudio Fontana <cfontana@suse.de>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M accel/tcg/meson.build
    M accel/tcg/tcg-all.c
    A accel/tcg/tcg-cpus.c
    A accel/tcg/tcg-cpus.h
    M softmmu/cpus.c

  Log Message:
  -----------
  cpus: extract out TCG-specific code to accel/tcg

TCG is the first accelerator to register a "CpusAccel" interface
on initialization, providing functions for starting a vcpu,
kicking a vcpu, sychronizing state and getting virtual clock
and ticks.

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[added const]
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 1583a389885346208217e8170395624b3aa90480
      
https://github.com/qemu/qemu/commit/1583a389885346208217e8170395624b3aa90480
  Author: Claudio Fontana <cfontana@suse.de>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M MAINTAINERS
    M accel/meson.build
    R accel/qtest.c
    A accel/qtest/meson.build
    A accel/qtest/qtest-cpus.c
    A accel/qtest/qtest-cpus.h
    A accel/qtest/qtest.c
    M softmmu/cpus.c

  Log Message:
  -----------
  cpus: extract out qtest-specific code to accel/qtest

register a "CpusAccel" interface for qtest as well.

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 57038a92bb06111fbee57f56c0231359573e805d
      
https://github.com/qemu/qemu/commit/57038a92bb06111fbee57f56c0231359573e805d
  Author: Claudio Fontana <cfontana@suse.de>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M accel/kvm/kvm-all.c
    A accel/kvm/kvm-cpus.c
    A accel/kvm/kvm-cpus.h
    M accel/kvm/meson.build
    M accel/stubs/kvm-stub.c
    M include/sysemu/kvm.h
    M softmmu/cpus.c

  Log Message:
  -----------
  cpus: extract out kvm-specific code to accel/kvm

register a "CpusAccel" interface for KVM as well.

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[added const]
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: e92558e4bf8059ce4f0b310afe218802b72766bc
      
https://github.com/qemu/qemu/commit/e92558e4bf8059ce4f0b310afe218802b72766bc
  Author: Claudio Fontana <cfontana@suse.de>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M softmmu/cpus.c
    M target/i386/hax-all.c
    A target/i386/hax-cpus.c
    A target/i386/hax-cpus.h
    M target/i386/hax-i386.h
    M target/i386/hax-posix.c
    M target/i386/hax-windows.c
    M target/i386/meson.build

  Log Message:
  -----------
  cpus: extract out hax-specific code to target/i386/

register a "CpusAccel" interface for HAX as well.

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 8ef39ecfa69f758680280577077e25f4b5be9844
      
https://github.com/qemu/qemu/commit/8ef39ecfa69f758680280577077e25f4b5be9844
  Author: Claudio Fontana <cfontana@suse.de>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M MAINTAINERS
    M softmmu/cpus.c
    M target/i386/meson.build
    M target/i386/whpx-all.c
    A target/i386/whpx-cpus.c
    A target/i386/whpx-cpus.h

  Log Message:
  -----------
  cpus: extract out whpx-specific code to target/i386/

register a "CpusAccel" interface for WHPX as well.

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: b52bcba7bde5567cd786e759cbaa2258d6d91cc9
      
https://github.com/qemu/qemu/commit/b52bcba7bde5567cd786e759cbaa2258d6d91cc9
  Author: Claudio Fontana <cfontana@suse.de>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M softmmu/cpus.c
    A target/i386/hvf/hvf-cpus.c
    A target/i386/hvf/hvf-cpus.h
    M target/i386/hvf/hvf.c
    M target/i386/hvf/meson.build

  Log Message:
  -----------
  cpus: extract out hvf-specific code to target/i386/hvf/

register a "CpusAccel" interface for HVF as well.

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com>
[added const]
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: ff815bcf250455a59aa86df10870a877e8ef8ea4
      
https://github.com/qemu/qemu/commit/ff815bcf250455a59aa86df10870a877e8ef8ea4
  Author: Claudio Fontana <cfontana@suse.de>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M softmmu/cpus.c

  Log Message:
  -----------
  cpus: cleanup now unneeded includes

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 994aa172006a545e0e854ebbdb2edef6030f3ad3
      
https://github.com/qemu/qemu/commit/994aa172006a545e0e854ebbdb2edef6030f3ad3
  Author: Claudio Fontana <cfontana@suse.de>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M softmmu/cpus.c

  Log Message:
  -----------
  cpus: remove checks for non-NULL cpus_accel

now that all accelerators support the CpusAccel interface,
we can remove most checks for non-NULL cpus_accel,
we just add a sanity check/assert at vcpu creation.

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: bb4776be7733659bdbce4548e2c042107bad76f4
      
https://github.com/qemu/qemu/commit/bb4776be7733659bdbce4548e2c042107bad76f4
  Author: Claudio Fontana <cfontana@suse.de>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M accel/tcg/tcg-all.c
    M accel/tcg/tcg-cpus.c
    M hw/core/cpu.c
    M include/hw/core/cpu.h
    M include/sysemu/cpus.h
    M softmmu/cpus.c
    M target/i386/hax-all.c
    M target/i386/hvf/hvf.c
    M target/i386/whpx-all.c

  Log Message:
  -----------
  cpus: add handle_interrupt to the CpusAccel interface

kvm: uses the generic handler
qtest: uses the generic handler
whpx: changed to use the generic handler (identical implementation)
hax: changed to use the generic handler (identical implementation)
hvf: changed to use the generic handler (identical implementation)
tcg: adapt tcg-cpus to point to the tcg-specific handler

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: b46bc3c23ffb83b6f51748957acc3ea339341c1e
      
https://github.com/qemu/qemu/commit/b46bc3c23ffb83b6f51748957acc3ea339341c1e
  Author: Claudio Fontana <cfontana@suse.de>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    R accel/stubs/hvf-stub.c
    M accel/stubs/meson.build
    M include/sysemu/hvf.h
    M target/i386/hvf/hvf-cpus.h
    M target/i386/hvf/x86hvf.c
    M target/i386/hvf/x86hvf.h

  Log Message:
  -----------
  hvf: remove hvf specific functions from global includes

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 77c050b5ec6c0759a237b6e9d3e2613f66dbb54f
      
https://github.com/qemu/qemu/commit/77c050b5ec6c0759a237b6e9d3e2613f66dbb54f
  Author: Claudio Fontana <cfontana@suse.de>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M accel/stubs/meson.build
    R accel/stubs/whpx-stub.c
    M include/sysemu/whpx.h
    M target/i386/whpx-cpus.h

  Log Message:
  -----------
  whpx: remove whpx specific functions from global includes

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: b2d61ea448b3abe9d002da32cf3fd1b157e33c4f
      
https://github.com/qemu/qemu/commit/b2d61ea448b3abe9d002da32cf3fd1b157e33c4f
  Author: Claudio Fontana <cfontana@suse.de>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M accel/stubs/hax-stub.c
    M include/sysemu/hax.h
    M target/i386/hax-all.c
    M target/i386/hax-cpus.c
    M target/i386/hax-cpus.h
    M target/i386/hax-mem.c
    M target/i386/hax-posix.c
    M target/i386/hax-windows.c
    M target/i386/hax-windows.h

  Log Message:
  -----------
  hax: remove hax specific functions from global includes

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: e0715f6abce0c04f68d35c4f6df2976ac57379c9
      
https://github.com/qemu/qemu/commit/e0715f6abce0c04f68d35c4f6df2976ac57379c9
  Author: Claudio Fontana <cfontana@suse.de>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M accel/kvm/kvm-cpus.h
    M accel/stubs/kvm-stub.c
    M include/sysemu/kvm.h

  Log Message:
  -----------
  kvm: remove kvm specific functions from global includes

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: d0a92b353efa2ca3c2847ad38f088b16d1278290
      
https://github.com/qemu/qemu/commit/d0a92b353efa2ca3c2847ad38f088b16d1278290
  Author: Dr. David Alan Gilbert <dgilbert@redhat.com>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M accel/kvm/kvm-all.c
    M accel/kvm/kvm-cpus.c
    M accel/kvm/kvm-cpus.h
    M accel/kvm/trace-events

  Log Message:
  -----------
  kvm: kvm_init_vcpu take Error pointer

Clean up the error handling in kvm_init_vcpu so we can see what went
wrong more easily.

Make it take an Error ** and fill it out with what failed, including
the cpu id, so you can tell if it only fails at a given ID.

Replace the remaining DPRINTF by a trace.

This turns a:
kvm_init_vcpu failed: Invalid argument

into:
kvm_init_vcpu: kvm_get_vcpu failed (256): Invalid argument

and with the trace you then get to see:

19049@1595520414.310107:kvm_init_vcpu index: 169 id: 212
19050@1595520414.310635:kvm_init_vcpu index: 170 id: 256
qemu-system-x86_64: kvm_init_vcpu: kvm_get_vcpu failed (256): Invalid argument

which makes stuff a lot more obvious.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200723160915.129069-1-dgilbert@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 20b0a9f4f6bbe41aaadf6681c16ac73d289203e1
      
https://github.com/qemu/qemu/commit/20b0a9f4f6bbe41aaadf6681c16ac73d289203e1
  Author: Claudio Fontana <cfontana@suse.de>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M accel/tcg/tcg-cpus.c

  Log Message:
  -----------
  accel/tcg: use current_machine as it is always set for softmmu

current_machine is always set before accelerators are initialized,
so use that instead of MACHINE(qdev_get_machine()).

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 4d34a86b2b4d28a2da66196c655a37888b85c036
      
https://github.com/qemu/qemu/commit/4d34a86b2b4d28a2da66196c655a37888b85c036
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M Makefile
    M configure
    M meson.build
    M meson_options.txt
    M net/meson.build
    M tests/qtest/meson.build

  Log Message:
  -----------
  slirp: Convert Makefile bits to meson bits

SLIRP uses Meson so it could become a subproject in the future,
but our choice of configure options is not yet supported in Meson
(https://github.com/mesonbuild/meson/pull/7740).

For now, build the library via the main meson.build just like for
capstone.

This improves the current state of affairs in that we will re-link
the qemu executables against a changed libslirp.a, which we wouldn't
do before-hand.

Tested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: fbb4121d5921feecf07751a6351c69fa46798596
      
https://github.com/qemu/qemu/commit/fbb4121d5921feecf07751a6351c69fa46798596
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M Makefile
    M configure
    M default-configs/targets/aarch64-softmmu.mak
    M default-configs/targets/arm-softmmu.mak
    M default-configs/targets/microblaze-softmmu.mak
    M default-configs/targets/microblazeel-softmmu.mak
    M default-configs/targets/mips64el-softmmu.mak
    M default-configs/targets/ppc-softmmu.mak
    M default-configs/targets/ppc64-softmmu.mak
    M default-configs/targets/riscv32-softmmu.mak
    M default-configs/targets/riscv64-softmmu.mak
    M default-configs/targets/rx-softmmu.mak
    M meson.build
    M meson_options.txt

  Log Message:
  -----------
  dtc: Convert Makefile bits to meson bits

Build the library via the main meson.build just like for capstone.
This improves the current state of affairs in that we will re-link
the qemu executables against a changed libfdt.a, which we wouldn't
do before-hand, and lets us remove the whole recursive make machinery.

Tested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 5770e8afd629cc8a83dc41e2524258c73c1b301e
      
https://github.com/qemu/qemu/commit/5770e8afd629cc8a83dc41e2524258c73c1b301e
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M configure
    M meson.build

  Log Message:
  -----------
  configure: do not clobber environment CFLAGS/CXXFLAGS/LDFLAGS

If the CFLAGS, CXXFLAGS or LDFLAGS variables are present in the environment,
any modification made within the configure script is passed down to Meson.
This is particularly undesirable for the "-pie" option, since it overrides
"-shared" and thus messes up the linker flags for shared modules.

Using a separate variable therefore fixes the bug, while clarifying that
the scope of these CFLAGS is just the configure script.

We also do not need to pass those variables in config-host.mak; they
were only used for printing the summary now that all submodules are
built with handwritten Meson rules).  For now synthesize CFLAGS in the
configuration summary, the next patch will also pass them in a cleaner
way using the cross file.

Reported-by: Frederic Bezies
Analyzed-by: Toolybird
Tested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200923092617.1593722-4-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 47b30835e48d9bc061cbf0bd606a4925303971a4
      
https://github.com/qemu/qemu/commit/47b30835e48d9bc061cbf0bd606a4925303971a4
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M configure
    M meson.build

  Log Message:
  -----------
  configure: consistently pass CFLAGS/CXXFLAGS/LDFLAGS to meson

Environment variables like CFLAGS are easy to accidentally change.  Meson
warns if that happens, but in a project with a lot of configuration that
is easy to lose.  It is also surprising behavior since meson caches -D
options and remembers those on reconfiguration (which we rely on,
since configure options become -D options).

By placing the user-provided CFLAGS, CXXFLAGS and LDFLAGS in the
cross file, we at least get consistent behavior.  These environment
variables are still ugly and not really recommended, but there are
distros that rely on them.  For the gory details, refer to
https://github.com/mesonbuild/meson/issues/4664.

Tested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200923092617.1593722-5-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: cb8baa7720ed38e6e14af27e0039cd593bf3cdc7
      
https://github.com/qemu/qemu/commit/cb8baa7720ed38e6e14af27e0039cd593bf3cdc7
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: don't enable ASLR for --enable-debug Windows builds

Unlike other OSs it is not possible for gdb to temporarily disable ASLR when
debugging executables on Windows which causes gdb to fail with memory access
errors when trying to debug QEMU.

Keep ASLR enabled by default on Windows via the --dynamicbase compiler flag
except for --enable-debug builds when there is a clear expectation that a
functioning gdb is expected at the cost of slightly less security.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20201005133434.12614-1-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 4084893ddc0b55a65b090aa5b7443f0ee55cbfc6
      
https://github.com/qemu/qemu/commit/4084893ddc0b55a65b090aa5b7443f0ee55cbfc6
  Author: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M accel/tcg/cpu-exec.c

  Log Message:
  -----------
  replay: don't record interrupt poll

Interrupt poll is not a real interrupt event. It is needed only for
thread safety. This interrupt is used for i386 and converted
to hardware interrupt by cpu_handle_interrupt function.
Therefore it is not needed to be recorded, because hardware
interrupt will be recorded after converting.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

--

v4 changes:
 - Condition check refactoring (suggested by Alex Bennée)
Message-Id: <160174517124.12451.12983410242461131737.stgit@pasha-ThinkPad-X280>

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 56db1198a417838f17ffb7a7546c731deab02938
      
https://github.com/qemu/qemu/commit/56db1198a417838f17ffb7a7546c731deab02938
  Author: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M include/sysemu/replay.h
    M replay/replay.c

  Log Message:
  -----------
  replay: provide an accessor for rr filename

This patch adds an accessor function for the name of the record/replay
log file. Adding an accessor instead of making variable global,
prevents accidental modification of this variable by other modules.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <160174517710.12451.17645787545733927488.stgit@pasha-ThinkPad-X280>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: bbacffc5f7a1a9318afe62f4eb20b3584acb6aa1
      
https://github.com/qemu/qemu/commit/bbacffc5f7a1a9318afe62f4eb20b3584acb6aa1
  Author: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M block/qcow2-snapshot.c
    M block/qcow2.h
    M docs/interop/qcow2.txt
    M tests/qemu-iotests/261
    M tests/qemu-iotests/261.out

  Log Message:
  -----------
  qcow2: introduce icount field for snapshots

This patch introduces the icount field for saving within the snapshot.
It is required for navigation between the snapshots in record/replay mode.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Acked-by: Kevin Wolf <kwolf@redhat.com>

--

v7 changes:
 - also fix the test which checks qcow2 snapshot extra data
Message-Id: <160174518284.12451.2301137308458777398.stgit@pasha-ThinkPad-X280>

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: b39847a50553b7679d6d7fefbe6a108a17aacf8d
      
https://github.com/qemu/qemu/commit/b39847a50553b7679d6d7fefbe6a108a17aacf8d
  Author: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M block/qapi.c
    M block/qcow2-snapshot.c
    M blockdev.c
    M include/block/snapshot.h
    M migration/savevm.c
    M qapi/block-core.json
    M stubs/replay.c
    M tests/qemu-iotests/261
    M tests/qemu-iotests/267.out

  Log Message:
  -----------
  migration: introduce icount field for snapshots

Saving icount as a parameters of the snapshot allows navigation between
them in the execution replay scenario.
This information can be used for finding a specific snapshot for proceeding
the recorded execution to the specific moment of the time.
E.g., 'reverse step' action (introduced in one of the following patches)
needs to load the nearest snapshot which is prior to the current moment
of time.
This patch also updates snapshot test which verifies qemu monitor output.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Acked-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Kevin Wolf <kwolf@redhat.com>

--

v4 changes:
 - squashed format update with test output update
v7 changes:
 - introduced the spaces between the fields in snapshot info output
 - updated the test to match new field widths
Message-Id: <160174518865.12451.14327573383978752463.stgit@pasha-ThinkPad-X280>

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 43d7e1d782e7bab6548eb7e143a75122c8ba96c3
      
https://github.com/qemu/qemu/commit/43d7e1d782e7bab6548eb7e143a75122c8ba96c3
  Author: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M MAINTAINERS
    M include/sysemu/replay.h
    M qapi/meson.build
    M qapi/misc.json
    M qapi/qapi-schema.json
    A qapi/replay.json

  Log Message:
  -----------
  qapi: introduce replay.json for record/replay-related stuff

This patch adds replay.json file. It will be
used for adding record/replay-related data structures and commands.

Signed-off-by: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <160174519444.12451.3472949430004845434.stgit@pasha-ThinkPad-X280>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: e3b09ad2b6e9b23ebc7c2ba133e8a22e53dec301
      
https://github.com/qemu/qemu/commit/e3b09ad2b6e9b23ebc7c2ba133e8a22e53dec301
  Author: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M hmp-commands-info.hx
    M include/monitor/hmp.h
    M qapi/block-core.json
    M qapi/replay.json
    M replay/meson.build
    A replay/replay-debugging.c

  Log Message:
  -----------
  replay: introduce info hmp/qmp command

This patch introduces 'info replay' monitor command and
corresponding qmp request.
These commands request the current record/replay mode, replay log file
name, and the instruction count (number of recorded/replayed
instructions).  The instruction count can be used with the
replay_seek/replay_break commands added in the next two patches.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <160174520026.12451.13112161947433306561.stgit@pasha-ThinkPad-X280>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: e751067179e18178d0f0ab5955b95d59e2a081de
      
https://github.com/qemu/qemu/commit/e751067179e18178d0f0ab5955b95d59e2a081de
  Author: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M hmp-commands.hx
    M include/monitor/hmp.h
    M qapi/replay.json
    M replay/replay-debugging.c
    M replay/replay-internal.h
    M replay/replay.c

  Log Message:
  -----------
  replay: introduce breakpoint at the specified step

This patch introduces replay_break, replay_delete_break
qmp and hmp commands.
These commands allow stopping at the specified instruction.
It may be useful for debugging when there are some known
events that should be investigated.
replay_break command has one argument - number of instructions
executed since the start of the replay.
replay_delete_break removes previously set breakpoint.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Acked-by: Markus Armbruster <armbru@redhat.com>

--

v4 changes:
 - removed useless error_free call
Message-Id: <160174520606.12451.7056879546045599378.stgit@pasha-ThinkPad-X280>

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: f6baed3d1485817e812ac8b275b5b4158384c59e
      
https://github.com/qemu/qemu/commit/f6baed3d1485817e812ac8b275b5b4158384c59e
  Author: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M hmp-commands.hx
    M include/monitor/hmp.h
    M qapi/replay.json
    M replay/replay-debugging.c

  Log Message:
  -----------
  replay: implement replay-seek command

This patch adds hmp/qmp commands replay_seek/replay-seek that proceed
the execution to the specified instruction count.
The command automatically loads nearest snapshot and replays the execution
to find the desired instruction count.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Acked-by: Markus Armbruster <armbru@redhat.com>

--

v4 changes:
 - fixed HMP command description indent
 - removed useless error_free call
Message-Id: <160174521180.12451.14033112911009278753.stgit@pasha-ThinkPad-X280>

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: f9a9fb6516b453d2318eca0fc5eecc4c57f6b065
      
https://github.com/qemu/qemu/commit/f9a9fb6516b453d2318eca0fc5eecc4c57f6b065
  Author: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M include/sysemu/replay.h
    M migration/savevm.c
    M replay/replay-events.c
    M replay/replay-internal.h

  Log Message:
  -----------
  replay: flush rr queue before loading the vmstate

Non-empty record/replay queue prevents saving and loading the VM state,
because it includes pending bottom halves and block coroutines.
But when the new VM state is loaded, we don't have to preserve the consistency
of the current state anymore. Therefore this patch just flushes the queue
allowing the coroutines to finish and removes checking for empty rr queue
for load_snapshot function.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <160174521762.12451.15752448887893855757.stgit@pasha-ThinkPad-X280>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: fda8458bd3a9cb3108ba2f09921b6e3eee0d1bf3
      
https://github.com/qemu/qemu/commit/fda8458bd3a9cb3108ba2f09921b6e3eee0d1bf3
  Author: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M accel/tcg/translator.c
    M exec.c
    M gdbstub.c
    M include/sysemu/replay.h
    M replay/replay-debugging.c
    M softmmu/cpus.c
    M stubs/replay.c

  Log Message:
  -----------
  gdbstub: add reverse step support in replay mode

GDB remote protocol supports two reverse debugging commands:
reverse step and reverse continue.
This patch adds support of the first one to the gdbstub.
Reverse step is intended to step one instruction in the backwards
direction. This is not possible in regular execution.
But replayed execution is deterministic, therefore we can load one of
the prior snapshots and proceed to the desired step. It is equivalent
to stepping one instruction back.
There should be at least one snapshot preceding the debugged part of
the replay log.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

--

v4 changes:
 - inverted condition in cpu_handle_guest_debug (suggested by Alex Bennée)
Message-Id: <160174522341.12451.1498758422543765253.stgit@pasha-ThinkPad-X280>

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: cda382594b7ea50aff5f672f32767f9f9fef4c12
      
https://github.com/qemu/qemu/commit/cda382594b7ea50aff5f672f32767f9f9fef4c12
  Author: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M exec.c
    M gdbstub.c
    M include/sysemu/replay.h
    M replay/replay-debugging.c
    M softmmu/cpus.c
    M stubs/replay.c

  Log Message:
  -----------
  gdbstub: add reverse continue support in replay mode

This patch adds support of the reverse continue operation for gdbstub.
Reverse continue finds the last breakpoint that would happen in normal
execution from the beginning to the current moment.
Implementation of the reverse continue replays the execution twice:
to find the breakpoints that were hit and to seek to the last breakpoint.
Reverse continue loads the previous snapshot and tries to find the breakpoint
since that moment. If there are no such breakpoints, it proceeds to
the earlier snapshot, and so on. When no breakpoints or watchpoints were
hit at all, execution stops at the beginning of the replay log.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Message-Id: <160174522930.12451.6994758004725016836.stgit@pasha-ThinkPad-X280>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 9a608af3c0f9856e396d12c3ec8985d70c548a54
      
https://github.com/qemu/qemu/commit/9a608af3c0f9856e396d12c3ec8985d70c548a54
  Author: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M docs/replay.txt

  Log Message:
  -----------
  replay: describe reverse debugging in docs/replay.txt

This patch updates the documentation and describes usage of the reverse
debugging in QEMU+GDB.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

--

v4 changes:
 - added an example of the command line for reverse debugging of
   the diskless machine
Message-Id: <160174523509.12451.1409905901920738979.stgit@pasha-ThinkPad-X280>

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 56357d80fc713367ace8251d1350a490e204bc3a
      
https://github.com/qemu/qemu/commit/56357d80fc713367ace8251d1350a490e204bc3a
  Author: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M gdbstub.c
    M include/sysemu/replay.h
    M replay/replay-debugging.c

  Log Message:
  -----------
  replay: create temporary snapshot at debugger connection

When record/replay does not uses overlays for storing the snapshots,
user is not capable of issuing reverse debugging commands.
This patch adds creation of the VM snapshot on the temporary
overlay image, when the debugger connects to QEMU.
Therefore the execution can be rewind to the moment
of the debugger connection while debugging the virtual machine.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>

--

v6:
 - dropped unused error processing (suggested by Philippe Mathieu-Daudé)
Message-Id: <160174524096.12451.11651270339216758643.stgit@pasha-ThinkPad-X280>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: be52eca309788aa69dc10a8cae63e8a40de7a2f7
      
https://github.com/qemu/qemu/commit/be52eca309788aa69dc10a8cae63e8a40de7a2f7
  Author: Pavel Dovgalyuk <Pavel.Dovgaluk@gmail.com>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M MAINTAINERS
    A tests/acceptance/reverse_debugging.py

  Log Message:
  -----------
  tests/acceptance: add reverse debugging test

This is a test for GDB reverse debugging commands: reverse step and reverse 
continue.
Every test in this suite consists of two phases: record and replay.
Recording saves the execution of some instructions and makes an initial
VM snapshot to allow reverse execution.
Replay saves the order of the first instructions and then checks that they
are executed backwards in the correct order.
After that the execution is replayed to the end, and reverse continue
command is checked by setting several breakpoints, and asserting
that the execution is stopped at the last of them.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>

--

v5:
 - disabled (as some other tests) when running on gitlab
   due to the unidentified timeout problem
Message-Id: <160174524678.12451.13258942849173670277.stgit@pasha-ThinkPad-X280>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: f2687fdb7571a444b5af3509574b659d35ddd601
      
https://github.com/qemu/qemu/commit/f2687fdb7571a444b5af3509574b659d35ddd601
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M MAINTAINERS
    M Makefile
    M accel/kvm/kvm-all.c
    A accel/kvm/kvm-cpus.c
    A accel/kvm/kvm-cpus.h
    M accel/kvm/meson.build
    M accel/kvm/trace-events
    M accel/meson.build
    R accel/qtest.c
    A accel/qtest/meson.build
    A accel/qtest/qtest-cpus.c
    A accel/qtest/qtest-cpus.h
    A accel/qtest/qtest.c
    M accel/stubs/hax-stub.c
    R accel/stubs/hvf-stub.c
    M accel/stubs/kvm-stub.c
    M accel/stubs/meson.build
    R accel/stubs/whpx-stub.c
    M accel/tcg/cpu-exec.c
    M accel/tcg/meson.build
    M accel/tcg/tcg-all.c
    A accel/tcg/tcg-cpus.c
    A accel/tcg/tcg-cpus.h
    M accel/tcg/translate-all.c
    M accel/tcg/translator.c
    M block/qapi.c
    M block/qcow2-snapshot.c
    M block/qcow2.h
    M blockdev.c
    M configure
    M default-configs/targets/aarch64-softmmu.mak
    M default-configs/targets/arm-softmmu.mak
    M default-configs/targets/microblaze-softmmu.mak
    M default-configs/targets/microblazeel-softmmu.mak
    M default-configs/targets/mips64el-softmmu.mak
    M default-configs/targets/ppc-softmmu.mak
    M default-configs/targets/ppc64-softmmu.mak
    M default-configs/targets/riscv32-softmmu.mak
    M default-configs/targets/riscv64-softmmu.mak
    M default-configs/targets/rx-softmmu.mak
    M dma-helpers.c
    M docs/interop/qcow2.txt
    M docs/replay.txt
    M exec.c
    M gdbstub.c
    M hmp-commands-info.hx
    M hmp-commands.hx
    M hw/core/cpu.c
    M hw/core/ptimer.c
    M hw/i386/x86.c
    M include/block/snapshot.h
    M include/exec/cpu-all.h
    M include/exec/exec-all.h
    M include/hw/core/cpu.h
    M include/monitor/hmp.h
    M include/qemu/timer.h
    A include/sysemu/cpu-timers.h
    M include/sysemu/cpus.h
    M include/sysemu/hax.h
    M include/sysemu/hvf.h
    M include/sysemu/hw_accel.h
    M include/sysemu/kvm.h
    M include/sysemu/qtest.h
    M include/sysemu/replay.h
    M include/sysemu/whpx.h
    M meson.build
    M meson_options.txt
    M migration/savevm.c
    M net/meson.build
    M qapi/block-core.json
    M qapi/meson.build
    M qapi/misc.json
    M qapi/qapi-schema.json
    A qapi/replay.json
    M replay/meson.build
    A replay/replay-debugging.c
    M replay/replay-events.c
    M replay/replay-internal.h
    M replay/replay.c
    A softmmu/cpu-timers.c
    M softmmu/cpus.c
    A softmmu/icount.c
    M softmmu/meson.build
    M softmmu/qtest.c
    A softmmu/timers-state.h
    M softmmu/vl.c
    R stubs/clock-warp.c
    M stubs/cpu-get-clock.c
    R stubs/cpu-get-icount.c
    A stubs/cpu-synchronize-state.c
    A stubs/cpus-get-virtual-clock.c
    A stubs/icount.c
    M stubs/meson.build
    M stubs/qemu-timer-notify-cb.c
    M stubs/qtest.c
    M stubs/replay.c
    M target/alpha/translate.c
    M target/arm/helper.c
    M target/i386/hax-all.c
    A target/i386/hax-cpus.c
    A target/i386/hax-cpus.h
    M target/i386/hax-i386.h
    M target/i386/hax-mem.c
    M target/i386/hax-posix.c
    M target/i386/hax-windows.c
    M target/i386/hax-windows.h
    A target/i386/hvf/hvf-cpus.c
    A target/i386/hvf/hvf-cpus.h
    M target/i386/hvf/hvf.c
    M target/i386/hvf/meson.build
    M target/i386/hvf/x86hvf.c
    M target/i386/hvf/x86hvf.h
    M target/i386/meson.build
    M target/i386/whpx-all.c
    A target/i386/whpx-cpus.c
    A target/i386/whpx-cpus.h
    M target/riscv/csr.c
    A tests/acceptance/reverse_debugging.py
    M tests/ptimer-test-stubs.c
    M tests/qemu-iotests/261
    M tests/qemu-iotests/261.out
    M tests/qemu-iotests/267.out
    M tests/qtest/meson.build
    M tests/test-timed-average.c
    M util/main-loop.c
    M util/qemu-timer.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/bonzini-gitlab/tags/for-upstream' into 
staging

* Reverse debugging (Pavel)
* CFLAGS cleanup (Paolo)
* ASLR fix (Mark)
* cpus.c refactoring (Claudio)

# gpg: Signature made Tue 06 Oct 2020 07:35:09 BST
# gpg:                using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
# gpg:                issuer "pbonzini@redhat.com"
# gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [full]
# gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>" [full]
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
#      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83

* remotes/bonzini-gitlab/tags/for-upstream: (37 commits)
  tests/acceptance: add reverse debugging test
  replay: create temporary snapshot at debugger connection
  replay: describe reverse debugging in docs/replay.txt
  gdbstub: add reverse continue support in replay mode
  gdbstub: add reverse step support in replay mode
  replay: flush rr queue before loading the vmstate
  replay: implement replay-seek command
  replay: introduce breakpoint at the specified step
  replay: introduce info hmp/qmp command
  qapi: introduce replay.json for record/replay-related stuff
  migration: introduce icount field for snapshots
  qcow2: introduce icount field for snapshots
  replay: provide an accessor for rr filename
  replay: don't record interrupt poll
  configure: don't enable ASLR for --enable-debug Windows builds
  configure: consistently pass CFLAGS/CXXFLAGS/LDFLAGS to meson
  configure: do not clobber environment CFLAGS/CXXFLAGS/LDFLAGS
  dtc: Convert Makefile bits to meson bits
  slirp: Convert Makefile bits to meson bits
  accel/tcg: use current_machine as it is always set for softmmu
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/d7c5b7882954...f2687fdb7571



reply via email to

[Prev in Thread] Current Thread [Next in Thread]