Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 897a06c6d7ce8fb962a33cea1910d17218c746e9
https://github.com/qemu/qemu/commit/897a06c6d7ce8fb962a33cea1910d17218c746e9
Author: Philippe Mathieu-Daudé <[email protected]>
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é <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Message-ID: <[email protected]>
Commit: 195801d700c008b6a8d8acfa299aa5f177446647
https://github.com/qemu/qemu/commit/195801d700c008b6a8d8acfa299aa5f177446647
Author: Stefan Hajnoczi <[email protected]>
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 <[email protected]>
Reviewed-by: Paul Durrant <[email protected]>
Acked-by: Fabiano Rosas <[email protected]>
Acked-by: David Woodhouse <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Acked-by: Peter Xu <[email protected]>
Acked-by: Eric Farman <[email protected]>
Reviewed-by: Harsh Prateek Bora <[email protected]>
Acked-by: Hyman Huang <[email protected]>
Reviewed-by: Akihiko Odaki <[email protected]>
Message-id: [email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: 32ead8e62fe222d433d135bc6ef25a2af20561a3
https://github.com/qemu/qemu/commit/32ead8e62fe222d433d135bc6ef25a2af20561a3
Author: Stefan Hajnoczi <[email protected]>
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 <[email protected]>
Reviewed-by: Paul Durrant <[email protected]>
Acked-by: David Woodhouse <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Acked-by: Ilya Leoshkevich <[email protected]>
Reviewed-by: Harsh Prateek Bora <[email protected]>
Reviewed-by: Akihiko Odaki <[email protected]>
Message-id: [email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: 7c754c787e69de79ca9b28749a10fc148d4f4c7d
https://github.com/qemu/qemu/commit/7c754c787e69de79ca9b28749a10fc148d4f4c7d
Author: Stefan Hajnoczi <[email protected]>
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 <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Paul Durrant <[email protected]>
Reviewed-by: Harsh Prateek Bora <[email protected]>
Reviewed-by: Akihiko Odaki <[email protected]>
Message-id: [email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: a4a411fbaf95b5712b30de6e65f37ff0aa6cb142
https://github.com/qemu/qemu/commit/a4a411fbaf95b5712b30de6e65f37ff0aa6cb142
Author: Stefan Hajnoczi <[email protected]>
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 <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Paul Durrant <[email protected]>
Reviewed-by: Akihiko Odaki <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Reviewed-by: Harsh Prateek Bora <[email protected]>
Message-id: [email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: 0b2675c473f68f13bc5ca1dd1c43ce421542e7b8
https://github.com/qemu/qemu/commit/0b2675c473f68f13bc5ca1dd1c43ce421542e7b8
Author: Stefan Hajnoczi <[email protected]>
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 <[email protected]>
Acked-by: Markus Armbruster <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Paul Durrant <[email protected]>
Reviewed-by: Akihiko Odaki <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Reviewed-by: Harsh Prateek Bora <[email protected]>
Message-id: [email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: fc7c144b23bf6eb291691f83d885e0291850176e
https://github.com/qemu/qemu/commit/fc7c144b23bf6eb291691f83d885e0291850176e
Author: Ani Sinha <[email protected]>
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: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
Signed-off-by: Ani Sinha <[email protected]>
Message-id: [email protected]
Signed-off-by: Peter Maydell <[email protected]>
Commit: b345ffad3eec861d48065f96a414afeb5ec2ec4d
https://github.com/qemu/qemu/commit/b345ffad3eec861d48065f96a414afeb5ec2ec4d
Author: Ani Sinha <[email protected]>
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: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
Signed-off-by: Ani Sinha <[email protected]>
Message-id: [email protected]
Signed-off-by: Peter Maydell <[email protected]>
Commit: c1df5b4f165f011cf058e9bafb07b5504abb1b3d
https://github.com/qemu/qemu/commit/c1df5b4f165f011cf058e9bafb07b5504abb1b3d
Author: Peter Maydell <[email protected]>
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)
<[email protected]>" [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 <[email protected]>
Commit: 9468484fe904ab4691de6d9c34616667f377ceac
https://github.com/qemu/qemu/commit/9468484fe904ab4691de6d9c34616667f377ceac
Author: Peter Maydell <[email protected]>
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 <[email protected]>" [full]
# gpg: aka "Stefan Hajnoczi <[email protected]>" [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 <[email protected]>
Compare: https://github.com/qemu/qemu/compare/8b425bd927bf...9468484fe904