qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 940f70: tests/avocado: add a simple i386 repl


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 940f70: tests/avocado: add a simple i386 replay kernel test
Date: Tue, 09 Jan 2024 06:24:01 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 940f70cc1c1afe20538ad49f809f7664bfc1f32a
      
https://github.com/qemu/qemu/commit/940f70cc1c1afe20538ad49f809f7664bfc1f32a
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M tests/avocado/replay_kernel.py

  Log Message:
  -----------
  tests/avocado: add a simple i386 replay kernel test

There are a number of bugs against 32 bit x86 on the tracker. Lets at
least establish a baseline pure kernel boot can do record/replay
before we start looking at the devices.

Acked-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231211091346.14616-2-alex.bennee@linaro.org>


  Commit: 2d8508bbab39bf342fe80e73c0b528eb3960fa37
      
https://github.com/qemu/qemu/commit/2d8508bbab39bf342fe80e73c0b528eb3960fa37
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M tests/avocado/replay_linux.py

  Log Message:
  -----------
  tests/avocado: fix typo in replay_linux

Reviewed-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231211091346.14616-3-alex.bennee@linaro.org>


  Commit: 6f6b71536cc0e8b0fa3547deb3a0ac6be3398941
      
https://github.com/qemu/qemu/commit/6f6b71536cc0e8b0fa3547deb3a0ac6be3398941
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M tests/avocado/replay_linux.py

  Log Message:
  -----------
  tests/avocado: modernise the drive args for replay_linux

QEMU complains about us not being explicit with setting snapshot so
lets do that. Also as cdroms are RO media we don't need to jump the
hoops of setting up snapshots and replay disks - just declare the
drive is a cdrom and nothing should change.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231211091346.14616-4-alex.bennee@linaro.org>


  Commit: fcc8c529fe45981496f1ee1fb0f59a1f9f36ba8a
      
https://github.com/qemu/qemu/commit/fcc8c529fe45981496f1ee1fb0f59a1f9f36ba8a
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M scripts/replay-dump.py

  Log Message:
  -----------
  scripts/replay-dump: update to latest format

To help debugging replay logs I've implemented decode_plain and
decode_char_write as well as put in a new table for the current format
of log.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231211091346.14616-5-alex.bennee@linaro.org>


  Commit: 41e17cc8aa75a8e8e604e17fdf8adcccdca60903
      
https://github.com/qemu/qemu/commit/41e17cc8aa75a8e8e604e17fdf8adcccdca60903
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M scripts/replay-dump.py

  Log Message:
  -----------
  scripts/replay_dump: track total number of instructions

This will help in tracking where we are in the stream when debugging.

Reviewed-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231211091346.14616-6-alex.bennee@linaro.org>


  Commit: 8835ed3293e5be5bb266eeefdcd5077a0e6a332d
      
https://github.com/qemu/qemu/commit/8835ed3293e5be5bb266eeefdcd5077a0e6a332d
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M replay/replay-internal.h

  Log Message:
  -----------
  replay: remove host_clock_last

Fixes: a02fe2ca70 (replay: Remove host_clock_last)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231211091346.14616-7-alex.bennee@linaro.org>


  Commit: 808eab62412b0bcf89e2cff204ae53b310f8aeca
      
https://github.com/qemu/qemu/commit/808eab62412b0bcf89e2cff204ae53b310f8aeca
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M replay/replay-internal.h

  Log Message:
  -----------
  replay: add proper kdoc for ReplayState

Remove the non-standard comment formatting and move the descriptions
into a proper kdoc comment.

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


  Commit: 2b7a58b60ad89a41df187fc9b48c0d7d0dab488b
      
https://github.com/qemu/qemu/commit/2b7a58b60ad89a41df187fc9b48c0d7d0dab488b
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M replay/replay-internal.c
    M replay/replay-internal.h
    M replay/replay-snapshot.c

  Log Message:
  -----------
  replay: make has_unread_data a bool

For clarity given it only has two states.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231211091346.14616-9-alex.bennee@linaro.org>


  Commit: dcda73211cd102dbfb8b8465c49dac66246a511e
      
https://github.com/qemu/qemu/commit/dcda73211cd102dbfb8b8465c49dac66246a511e
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M replay/replay-internal.c
    M replay/replay-internal.h
    M replay/replay-snapshot.c
    M replay/replay.c

  Log Message:
  -----------
  replay: introduce a central report point for sync errors

Figuring out why replay has failed is tricky at the best of times.
Lets centralise the reporting of a replay sync error and add a little
bit of extra information to help with debugging.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231211091346.14616-10-alex.bennee@linaro.org>


  Commit: fd84325f71254c741464de231c491d21ecf63b1a
      
https://github.com/qemu/qemu/commit/fd84325f71254c741464de231c491d21ecf63b1a
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M replay/replay-char.c

  Log Message:
  -----------
  replay/replay-char: use report_sync_error

Now we have a centralised report function use it for missing character
events.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231211091346.14616-11-alex.bennee@linaro.org>


  Commit: 1f881ea4a444ef36a8b6907b0b82be4b3af253a2
      
https://github.com/qemu/qemu/commit/1f881ea4a444ef36a8b6907b0b82be4b3af253a2
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M accel/tcg/tcg-accel-ops-rr.c
    M include/sysemu/replay.h
    M replay/replay.c

  Log Message:
  -----------
  replay: stop us hanging in rr_wait_io_event

A lot of the hang I see are when we end up spinning in
rr_wait_io_event for an event that will never come in playback. As a
new check functions which can see if we are in PLAY mode and kick us
us the wait function so the event can be processed.

This fixes most of the failures in replay_kernel.py

Fixes: https://gitlab.com/qemu-project/qemu/-/issues/2013
Cc: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231211091346.14616-12-alex.bennee@linaro.org>


  Commit: 7b571ef3c75ac35522c817219cbfa765753a36c5
      
https://github.com/qemu/qemu/commit/7b571ef3c75ac35522c817219cbfa765753a36c5
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M chardev/char.c

  Log Message:
  -----------
  chardev: force write all when recording replay logs

This is mostly a problem within avocado as serial generally isn't busy
enough to overfill pipes. However the consequences of recording a
failed write will haunt us on replay when the log will be out of sync
to the playback.

Fixes: https://gitlab.com/qemu-project/qemu/-/issues/2010
Acked-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231211091346.14616-13-alex.bennee@linaro.org>


  Commit: c2ef5ee89d76f0ab77c4dd6a1c9eeed4d35d20ed
      
https://github.com/qemu/qemu/commit/c2ef5ee89d76f0ab77c4dd6a1c9eeed4d35d20ed
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M tests/avocado/replay_kernel.py

  Log Message:
  -----------
  tests/avocado: remove skips from replay_kernel

With the latest fixes for #2010 and #2013 these tests look pretty
stable now. Of course the only way to be really sure is to run it in
the CI infrastructure and see what breaks.

Acked-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231211091346.14616-14-alex.bennee@linaro.org>


  Commit: 897a06c6d7ce8fb962a33cea1910d17218c746e9
      
https://github.com/qemu/qemu/commit/897a06c6d7ce8fb962a33cea1910d17218c746e9
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M include/block/aio.h
    M iothread.c
    M util/aio-posix.c
    M util/aio-win32.c
    M util/main-loop.c

  Log Message:
  -----------
  iothread: Remove unused Error** argument in aio_context_set_aio_params

aio_context_set_aio_params() doesn't use its undocumented
Error** argument. Remove it to simplify.

Note this removes a use of "unchecked Error**" in
iothread_set_aio_context_params().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20231120171806.19361-1-philmd@linaro.org>


  Commit: 195801d700c008b6a8d8acfa299aa5f177446647
      
https://github.com/qemu/qemu/commit/195801d700c008b6a8d8acfa299aa5f177446647
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M accel/accel-blocker.c
    M accel/dummy-cpus.c
    M accel/hvf/hvf-accel-ops.c
    M accel/kvm/kvm-accel-ops.c
    M accel/kvm/kvm-all.c
    M accel/tcg/cpu-exec.c
    M accel/tcg/cputlb.c
    M accel/tcg/tcg-accel-ops-icount.c
    M accel/tcg/tcg-accel-ops-mttcg.c
    M accel/tcg/tcg-accel-ops-rr.c
    M accel/tcg/tcg-accel-ops.c
    M accel/tcg/translate-all.c
    M audio/coreaudio.m
    M cpu-common.c
    M dump/dump.c
    M hw/core/cpu-common.c
    M hw/i386/intel_iommu.c
    M hw/i386/kvm/xen_evtchn.c
    M hw/i386/kvm/xen_overlay.c
    M hw/i386/kvm/xen_xenstore.c
    M hw/intc/arm_gicv3_cpuif.c
    M hw/intc/s390_flic.c
    M hw/misc/edu.c
    M hw/misc/imx6_src.c
    M hw/misc/imx7_src.c
    M hw/net/xen_nic.c
    M hw/ppc/pegasos2.c
    M hw/ppc/ppc.c
    M hw/ppc/spapr.c
    M hw/ppc/spapr_rng.c
    M hw/ppc/spapr_softmmu.c
    M hw/remote/mpqemu-link.c
    M hw/remote/vfio-user-obj.c
    M hw/s390x/s390-skeys.c
    M include/block/aio-wait.h
    M include/qemu/main-loop.h
    M include/qemu/thread.h
    M memory_ldst.c.inc
    M migration/block-dirty-bitmap.c
    M migration/block.c
    M migration/colo.c
    M migration/dirtyrate.c
    M migration/migration.c
    M migration/ram.c
    M replay/replay-internal.c
    M semihosting/console.c
    M stubs/iothread-lock.c
    M system/cpu-throttle.c
    M system/cpus.c
    M system/dirtylimit.c
    M system/memory.c
    M system/physmem.c
    M system/runstate.c
    M system/watchpoint.c
    M target/arm/arm-powerctl.c
    M target/arm/helper.c
    M target/arm/hvf/hvf.c
    M target/arm/kvm.c
    M target/arm/ptw.c
    M target/arm/tcg/helper-a64.c
    M target/arm/tcg/m_helper.c
    M target/arm/tcg/op_helper.c
    M target/arm/tcg/psci.c
    M target/hppa/int_helper.c
    M target/i386/hvf/README.md
    M target/i386/hvf/hvf.c
    M target/i386/kvm/hyperv.c
    M target/i386/kvm/kvm.c
    M target/i386/kvm/xen-emu.c
    M target/i386/nvmm/nvmm-accel-ops.c
    M target/i386/nvmm/nvmm-all.c
    M target/i386/tcg/sysemu/fpu_helper.c
    M target/i386/tcg/sysemu/misc_helper.c
    M target/i386/whpx/whpx-accel-ops.c
    M target/i386/whpx/whpx-all.c
    M target/loongarch/tcg/csr_helper.c
    M target/mips/kvm.c
    M target/mips/tcg/sysemu/cp0_helper.c
    M target/openrisc/sys_helper.c
    M target/ppc/excp_helper.c
    M target/ppc/kvm.c
    M target/ppc/misc_helper.c
    M target/ppc/timebase_helper.c
    M target/s390x/kvm/kvm.c
    M target/s390x/tcg/misc_helper.c
    M target/sparc/int32_helper.c
    M target/sparc/int64_helper.c
    M target/sparc/win_helper.c
    M target/xtensa/exc_helper.c
    M ui/cocoa.m
    M ui/spice-core.c
    M util/async.c
    M util/main-loop.c
    M util/qsp.c
    M util/rcu.c

  Log Message:
  -----------
  system/cpus: rename qemu_mutex_lock_iothread() to bql_lock()

The Big QEMU Lock (BQL) has many names and they are confusing. The
actual QemuMutex variable is called qemu_global_mutex but it's commonly
referred to as the BQL in discussions and some code comments. The
locking APIs, however, are called qemu_mutex_lock_iothread() and
qemu_mutex_unlock_iothread().

The "iothread" name is historic and comes from when the main thread was
split into into KVM vcpu threads and the "iothread" (now called the main
loop thread). I have contributed to the confusion myself by introducing
a separate --object iothread, a separate concept unrelated to the BQL.

The "iothread" name is no longer appropriate for the BQL. Rename the
locking APIs to:
- void bql_lock(void)
- void bql_unlock(void)
- bool bql_locked(void)

There are more APIs with "iothread" in their names. Subsequent patches
will rename them. There are also comments and documentation that will be
updated in later patches.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Paul Durrant <paul@xen.org>
Acked-by: Fabiano Rosas <farosas@suse.de>
Acked-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Acked-by: Peter Xu <peterx@redhat.com>
Acked-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Acked-by: Hyman Huang <yong.huang@smartx.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-id: 20240102153529.486531-2-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 32ead8e62fe222d433d135bc6ef25a2af20561a3
      
https://github.com/qemu/qemu/commit/32ead8e62fe222d433d135bc6ef25a2af20561a3
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M hw/i386/kvm/xen_evtchn.c
    M hw/i386/kvm/xen_gnttab.c
    M hw/mips/mips_int.c
    M hw/ppc/ppc.c
    M include/qemu/main-loop.h
    M target/i386/kvm/xen-emu.c
    M target/ppc/excp_helper.c
    M target/ppc/helper_regs.c
    M target/riscv/cpu_helper.c

  Log Message:
  -----------
  qemu/main-loop: rename QEMU_IOTHREAD_LOCK_GUARD to BQL_LOCK_GUARD

The name "iothread" is overloaded. Use the term Big QEMU Lock (BQL)
instead, it is already widely used and unambiguous.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Paul Durrant <paul@xen.org>
Acked-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-id: 20240102153529.486531-3-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 7c754c787e69de79ca9b28749a10fc148d4f4c7d
      
https://github.com/qemu/qemu/commit/7c754c787e69de79ca9b28749a10fc148d4f4c7d
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M accel/tcg/tcg-accel-ops-rr.c
    M hw/display/virtio-gpu.c
    M hw/ppc/spapr_events.c
    M include/qemu/main-loop.h
    M system/cpu-throttle.c
    M system/cpus.c
    M target/i386/nvmm/nvmm-accel-ops.c
    M target/i386/whpx/whpx-accel-ops.c

  Log Message:
  -----------
  qemu/main-loop: rename qemu_cond_wait_iothread() to qemu_cond_wait_bql()

The name "iothread" is overloaded. Use the term Big QEMU Lock (BQL)
instead, it is already widely used and unambiguous.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Paul Durrant <paul@xen.org>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-id: 20240102153529.486531-4-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: a4a411fbaf95b5712b30de6e65f37ff0aa6cb142
      
https://github.com/qemu/qemu/commit/a4a411fbaf95b5712b30de6e65f37ff0aa6cb142
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M accel/tcg/cputlb.c
    M accel/tcg/tcg-accel-ops-icount.c
    M audio/coreaudio.m
    M docs/devel/reset.rst
    M hw/display/qxl.h
    M hw/remote/mpqemu-link.c
    M include/exec/cpu-common.h
    M include/exec/memory.h
    M include/exec/ramblock.h
    M include/migration/register.h
    M migration/block-dirty-bitmap.c
    M migration/block.c
    M migration/colo.c
    M migration/migration.c
    M migration/ram.c
    M system/physmem.c
    M target/arm/helper.c
    M target/arm/internals.h
    M ui/cocoa.m
    M ui/spice-core.c
    M util/rcu.c

  Log Message:
  -----------
  Replace "iothread lock" with "BQL" in comments

The term "iothread lock" is obsolete. The APIs use Big QEMU Lock (BQL)
in their names. Update the code comments to use "BQL" instead of
"iothread lock".

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Paul Durrant <paul@xen.org>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Message-id: 20240102153529.486531-5-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 0b2675c473f68f13bc5ca1dd1c43ce421542e7b8
      
https://github.com/qemu/qemu/commit/0b2675c473f68f13bc5ca1dd1c43ce421542e7b8
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M docs/devel/multi-thread-tcg.rst
    M docs/devel/multiple-iothreads.txt
    M docs/devel/qapi-code-gen.rst
    M docs/devel/replay.rst
    M hw/block/dataplane/virtio-blk.c
    M hw/block/virtio-blk.c
    M hw/scsi/virtio-scsi-dataplane.c
    M include/block/blockjob.h
    M include/io/task.h
    M include/qemu/coroutine-core.h
    M include/qemu/coroutine.h
    M net/tap.c

  Log Message:
  -----------
  Rename "QEMU global mutex" to "BQL" in comments and docs

The term "QEMU global mutex" is identical to the more widely used Big
QEMU Lock ("BQL"). Update the code comments and documentation to use
"BQL" instead of "QEMU global mutex".

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Paul Durrant <paul@xen.org>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Message-id: 20240102153529.486531-6-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: fc7c144b23bf6eb291691f83d885e0291850176e
      
https://github.com/qemu/qemu/commit/fc7c144b23bf6eb291691f83d885e0291850176e
  Author: Ani Sinha <anisinha@redhat.com>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    A tests/avocado/acpi-bits/bits-tests/smilatency.py2

  Log Message:
  -----------
  acpi/tests/avocado/bits: import smilatency test from bits in order to disable 
it

Add smilatency test script in the bits avocado tests from bios-bits. No changes
have been made to the original test script. The test will be disabled in the
subsequent patch.

CC: peter.maydell@linaro.org
CC: crosa@redhat.com
CC: philmd@linaro.org
CC: bleal@redhat.com
CC: mst@redhat.com
CC: wainersm@redhat.com
Signed-off-by: Ani Sinha <anisinha@redhat.com>
Message-id: 20240108103643.4434-2-anisinha@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: b345ffad3eec861d48065f96a414afeb5ec2ec4d
      
https://github.com/qemu/qemu/commit/b345ffad3eec861d48065f96a414afeb5ec2ec4d
  Author: Ani Sinha <anisinha@redhat.com>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M tests/avocado/acpi-bits/bits-tests/smilatency.py2

  Log Message:
  -----------
  acpi/tests/avocado/bits: disable smilatency tests

smilatncy tests in bios bits seems to generate some flakyness in running the
bits avocado tests. Disable them for now.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2077

CC: peter.maydell@linaro.org
CC: crosa@redhat.com
CC: philmd@linaro.org
CC: bleal@redhat.com
CC: mst@redhat.com
CC: wainersm@redhat.com
Signed-off-by: Ani Sinha <anisinha@redhat.com>
Message-id: 20240108103643.4434-3-anisinha@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: c1df5b4f165f011cf058e9bafb07b5504abb1b3d
      
https://github.com/qemu/qemu/commit/c1df5b4f165f011cf058e9bafb07b5504abb1b3d
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M accel/tcg/tcg-accel-ops-rr.c
    M chardev/char.c
    M include/sysemu/replay.h
    M replay/replay-char.c
    M replay/replay-internal.c
    M replay/replay-internal.h
    M replay/replay-snapshot.c
    M replay/replay.c
    M scripts/replay-dump.py
    M tests/avocado/replay_kernel.py
    M tests/avocado/replay_linux.py

  Log Message:
  -----------
  Merge tag 'pull-replay-fixes-080124-1' of https://gitlab.com/stsquad/qemu 
into staging

Record/replay fixes for replay_kernel tests

  - add a 32 bit x86 replay test case
  - fix some typos
  - use modern snapshot setting for tests
  - update replay_dump for current ABI
  - remove stale replay variables
  - improve kdoc for ReplayState
  - introduce common error path for replay
  - always fully drain chardevs when in replay
  - catch unexpected waitio on playback
  - remove flaky tags from replay_kernel tests

# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmWcAJgACgkQ+9DbCVqe
# KkS/TQf+PuIPtuX71ENajfRBjz6450IbGqLUJ1HEaPGYGRj+fR6rg5g5u8qaBrT7
# TUv9ef9L22NtyL+Gbs1OGpGDWKoqV6RQc+A/MHa8IKFpcS24nUo3k4psIC6NSGRH
# 6w3++fPC1Q5cDk9Lei3Qt8fXzcnUZz+NTiIK05aC0xh7D6uGfdADvKqHeLav7qi+
# X2ztNdBsy/WJWCuWcMVzb/dGwDBtuyyxvqTD4EF+zn+gSYq9od2G8XdF+0o6ZVLM
# mXEHwNwB6UjOkLt2cYaay59SXcJFvwxKbEGTDnA7T+kgd3rknuBaWdVBIazoSPQh
# +522nPz5qq/3wO1l7+iQXuvd38fWyw==
# =nKRx
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 08 Jan 2024 14:03:04 GMT
# gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key) 
<alex.bennee@linaro.org>" [full]
# Primary key fingerprint: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44

* tag 'pull-replay-fixes-080124-1' of https://gitlab.com/stsquad/qemu:
  tests/avocado: remove skips from replay_kernel
  chardev: force write all when recording replay logs
  replay: stop us hanging in rr_wait_io_event
  replay/replay-char: use report_sync_error
  replay: introduce a central report point for sync errors
  replay: make has_unread_data a bool
  replay: add proper kdoc for ReplayState
  replay: remove host_clock_last
  scripts/replay_dump: track total number of instructions
  scripts/replay-dump: update to latest format
  tests/avocado: modernise the drive args for replay_linux
  tests/avocado: fix typo in replay_linux
  tests/avocado: add a simple i386 replay kernel test

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


  Commit: 9468484fe904ab4691de6d9c34616667f377ceac
      
https://github.com/qemu/qemu/commit/9468484fe904ab4691de6d9c34616667f377ceac
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M accel/accel-blocker.c
    M accel/dummy-cpus.c
    M accel/hvf/hvf-accel-ops.c
    M accel/kvm/kvm-accel-ops.c
    M accel/kvm/kvm-all.c
    M accel/tcg/cpu-exec.c
    M accel/tcg/cputlb.c
    M accel/tcg/tcg-accel-ops-icount.c
    M accel/tcg/tcg-accel-ops-mttcg.c
    M accel/tcg/tcg-accel-ops-rr.c
    M accel/tcg/tcg-accel-ops.c
    M accel/tcg/translate-all.c
    M audio/coreaudio.m
    M cpu-common.c
    M docs/devel/multi-thread-tcg.rst
    M docs/devel/multiple-iothreads.txt
    M docs/devel/qapi-code-gen.rst
    M docs/devel/replay.rst
    M docs/devel/reset.rst
    M dump/dump.c
    M hw/block/dataplane/virtio-blk.c
    M hw/block/virtio-blk.c
    M hw/core/cpu-common.c
    M hw/display/qxl.h
    M hw/display/virtio-gpu.c
    M hw/i386/intel_iommu.c
    M hw/i386/kvm/xen_evtchn.c
    M hw/i386/kvm/xen_gnttab.c
    M hw/i386/kvm/xen_overlay.c
    M hw/i386/kvm/xen_xenstore.c
    M hw/intc/arm_gicv3_cpuif.c
    M hw/intc/s390_flic.c
    M hw/mips/mips_int.c
    M hw/misc/edu.c
    M hw/misc/imx6_src.c
    M hw/misc/imx7_src.c
    M hw/net/xen_nic.c
    M hw/ppc/pegasos2.c
    M hw/ppc/ppc.c
    M hw/ppc/spapr.c
    M hw/ppc/spapr_events.c
    M hw/ppc/spapr_rng.c
    M hw/ppc/spapr_softmmu.c
    M hw/remote/mpqemu-link.c
    M hw/remote/vfio-user-obj.c
    M hw/s390x/s390-skeys.c
    M hw/scsi/virtio-scsi-dataplane.c
    M include/block/aio-wait.h
    M include/block/aio.h
    M include/block/blockjob.h
    M include/exec/cpu-common.h
    M include/exec/memory.h
    M include/exec/ramblock.h
    M include/io/task.h
    M include/migration/register.h
    M include/qemu/coroutine-core.h
    M include/qemu/coroutine.h
    M include/qemu/main-loop.h
    M include/qemu/thread.h
    M iothread.c
    M memory_ldst.c.inc
    M migration/block-dirty-bitmap.c
    M migration/block.c
    M migration/colo.c
    M migration/dirtyrate.c
    M migration/migration.c
    M migration/ram.c
    M net/tap.c
    M replay/replay-internal.c
    M semihosting/console.c
    M stubs/iothread-lock.c
    M system/cpu-throttle.c
    M system/cpus.c
    M system/dirtylimit.c
    M system/memory.c
    M system/physmem.c
    M system/runstate.c
    M system/watchpoint.c
    M target/arm/arm-powerctl.c
    M target/arm/helper.c
    M target/arm/hvf/hvf.c
    M target/arm/internals.h
    M target/arm/kvm.c
    M target/arm/ptw.c
    M target/arm/tcg/helper-a64.c
    M target/arm/tcg/m_helper.c
    M target/arm/tcg/op_helper.c
    M target/arm/tcg/psci.c
    M target/hppa/int_helper.c
    M target/i386/hvf/README.md
    M target/i386/hvf/hvf.c
    M target/i386/kvm/hyperv.c
    M target/i386/kvm/kvm.c
    M target/i386/kvm/xen-emu.c
    M target/i386/nvmm/nvmm-accel-ops.c
    M target/i386/nvmm/nvmm-all.c
    M target/i386/tcg/sysemu/fpu_helper.c
    M target/i386/tcg/sysemu/misc_helper.c
    M target/i386/whpx/whpx-accel-ops.c
    M target/i386/whpx/whpx-all.c
    M target/loongarch/tcg/csr_helper.c
    M target/mips/kvm.c
    M target/mips/tcg/sysemu/cp0_helper.c
    M target/openrisc/sys_helper.c
    M target/ppc/excp_helper.c
    M target/ppc/helper_regs.c
    M target/ppc/kvm.c
    M target/ppc/misc_helper.c
    M target/ppc/timebase_helper.c
    M target/riscv/cpu_helper.c
    M target/s390x/kvm/kvm.c
    M target/s390x/tcg/misc_helper.c
    M target/sparc/int32_helper.c
    M target/sparc/int64_helper.c
    M target/sparc/win_helper.c
    M target/xtensa/exc_helper.c
    M ui/cocoa.m
    M ui/spice-core.c
    M util/aio-posix.c
    M util/aio-win32.c
    M util/async.c
    M util/main-loop.c
    M util/qsp.c
    M util/rcu.c

  Log Message:
  -----------
  Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into 
staging

Pull request

# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmWcJMUACgkQnKSrs4Gr
# c8hh/Qf/Wt177UlhBR49OWmmegs8c8yS1mhyawo7YIJM4pqoXCYLaACpcKECXcGU
# rlgyR4ow68EXnnU8+/s2cp2UqHxrla+E2eNqBoTDmkNt3Cko5sJn5G5PM5EYK+mO
# JjFRzn7awRyxD6mGOuaMVoj6OuHbAA/U4JF7FhW0YuRl8v0/mvAxRSfQ4U6Crq/y
# 19Aa1CXHD1GH2CUJsMCY8zT47Dr4DJcvZx5IpcDFaHaYDCkktFwNzdo5IDnCx2M2
# xnP37Qp/Q93cu12lWkVOu8HCT6yhoszahyOqlBxDmo7QeGkskrxGbMyE+vHM3fFI
# aGSxiw193U7/QWu+Cq2/727C3YIq1g==
# =pKUb
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 08 Jan 2024 16:37:25 GMT
# gpg:                using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8
# gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>" [full]
# gpg:                 aka "Stefan Hajnoczi <stefanha@gmail.com>" [full]
# Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35  775A 9CA4 ABB3 81AB 73C8

* tag 'block-pull-request' of https://gitlab.com/stefanha/qemu:
  Rename "QEMU global mutex" to "BQL" in comments and docs
  Replace "iothread lock" with "BQL" in comments
  qemu/main-loop: rename qemu_cond_wait_iothread() to qemu_cond_wait_bql()
  qemu/main-loop: rename QEMU_IOTHREAD_LOCK_GUARD to BQL_LOCK_GUARD
  system/cpus: rename qemu_mutex_lock_iothread() to bql_lock()
  iothread: Remove unused Error** argument in aio_context_set_aio_params

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


Compare: https://github.com/qemu/qemu/compare/ffd454c67e38...9468484fe904



reply via email to

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