Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 97cdd1b0a7a010702a1d118b74c3af3bb2edb35c
      
https://github.com/qemu/qemu/commit/97cdd1b0a7a010702a1d118b74c3af3bb2edb35c
  Author: Tim Lee <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/arm/npcm8xx_boards.c

  Log Message:
  -----------
  hw/arm/npcm8xx_boards: Correct valid_cpu_types setting of NPCM8XX SoC

NPCM8XX SoC is the successor of the NPCM7XX. It features quad-core
Cortex-A35 (Armv8, 64-bit) CPUs and some additional peripherals.
Correct the `valid_cpu_types` setting to match the NPCM8XX SoC.

Cc: [email protected]
Fixes: 7e70eb3cad7c83 ("hw/arm: Add NPCM845 Evaluation board")
Signed-off-by: Tim Lee <[email protected]>
Message-id: [email protected]
Reviewed-by: Peter Maydell <[email protected]>
Reviewed-by: Tyrone Ting <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>


  Commit: 90f0078d023fc364c870188075f530f84f652758
      
https://github.com/qemu/qemu/commit/90f0078d023fc364c870188075f530f84f652758
  Author: Mads Ynddal <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M target/arm/hvf/hvf.c

  Log Message:
  -----------
  hvf: avoid repeatedly setting trap debug for each cpu

hvf_arch_set_traps is already called from a context of a specific
CPUState, so we don't need to do a nested CPU_FOREACH.

It also results in an error from hv_vcpu_set_sys_reg, as it may only be
called from the thread owning the vCPU.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2895
Tested-by: Daniel Gomez <[email protected]>
Signed-off-by: Mads Ynddal <[email protected]>
Reported-by: Daniel Gomez <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Message-id: [email protected]
Signed-off-by: Peter Maydell <[email protected]>


  Commit: d5bd8d8267eba7379d94e0c2e46e54dd475d9886
      
https://github.com/qemu/qemu/commit/d5bd8d8267eba7379d94e0c2e46e54dd475d9886
  Author: Mads Ynddal <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M accel/hvf/hvf-all.c

  Log Message:
  -----------
  hvf: only update sysreg from owning thread

hv_vcpu_set_sys_reg should only be called from the owning thread of the
vCPU, so to avoid crashes, the call to hvf_update_guest_debug is
dispatched to the individual threads.

Tested-by: Daniel Gomez <[email protected]>
Signed-off-by: Mads Ynddal <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Message-id: [email protected]
Signed-off-by: Peter Maydell <[email protected]>


  Commit: e47a9e886f2df1c8aae47dae03f07d417bb73dd5
      
https://github.com/qemu/qemu/commit/e47a9e886f2df1c8aae47dae03f07d417bb73dd5
  Author: Pierrick Bouvier <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M target/arm/ptw.c

  Log Message:
  -----------
  target/arm/ptw: extract arm_mmu_idx_to_security_space

We'll reuse this function later.

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-id: [email protected]
Signed-off-by: Peter Maydell <[email protected]>


  Commit: b6af88fafa586b1571b0db7f00356ad65a713061
      
https://github.com/qemu/qemu/commit/b6af88fafa586b1571b0db7f00356ad65a713061
  Author: Pierrick Bouvier <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M target/arm/ptw.c

  Log Message:
  -----------
  target/arm/ptw: get current security_space for current mmu_idx

It should be equivalent to previous code.
Allow to call common function to get a page address later.

Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-id: [email protected]
Signed-off-by: Peter Maydell <[email protected]>


  Commit: 63201878f1cab185110f4d738ca41e05689aebd7
      
https://github.com/qemu/qemu/commit/63201878f1cab185110f4d738ca41e05689aebd7
  Author: Pierrick Bouvier <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M target/arm/ptw.c

  Log Message:
  -----------
  target/arm/ptw: extract arm_cpu_get_phys_page

Allow to call that function easily several times in next commit.

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-id: [email protected]
Signed-off-by: Peter Maydell <[email protected]>


  Commit: e1781b38af5e5c2e8a4b8f11e3e54de393a82eb2
      
https://github.com/qemu/qemu/commit/e1781b38af5e5c2e8a4b8f11e3e54de393a82eb2
  Author: Pierrick Bouvier <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M target/arm/ptw.c

  Log Message:
  -----------
  target/arm/ptw: fix arm_cpu_get_phys_page_attrs_debug

It was reported that QEMU monitor command gva2gpa was reporting unmapped
memory for a valid access (qemu-system-aarch64), during a copy from
kernel to user space (__arch_copy_to_user symbol in Linux) [1].
This was affecting cpu_memory_rw_debug also, which
is used in numerous places in our codebase. After investigating, the
problem was specific to arm_cpu_get_phys_page_attrs_debug.

When performing user access from a privileged space, we need to do a
second lookup for user mmu idx, following what get_a64_user_mem_index is
doing at translation time.

[1] https://lists.nongnu.org/archive/html/qemu-discuss/2025-04/msg00013.html

Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-id: [email protected]
Signed-off-by: Peter Maydell <[email protected]>


  Commit: 1731ec33c38ccc9b7629182e896737d2e31789c0
      
https://github.com/qemu/qemu/commit/1731ec33c38ccc9b7629182e896737d2e31789c0
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/arm/virt.c

  Log Message:
  -----------
  hw/arm/virt: Remove deprecated virt-2.6 machine

This machine has been supported for a period of more than 6 years.
According to our versioned machine support policy (see commit
ce80c4fa6ff "docs: document special exception for machine type
deprecation & removal") it can now be removed.

Reviewed-by: Thomas Huth <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>


  Commit: 514712d5277de5237a49a4852f0f90c51696f94c
      
https://github.com/qemu/qemu/commit/514712d5277de5237a49a4852f0f90c51696f94c
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/arm/virt.c
    M include/hw/arm/virt.h

  Log Message:
  -----------
  hw/arm/virt: Remove VirtMachineClass::no_pmu field

The VirtMachineClass::no_pmu field was only used by
virt-2.6 machine, which got removed. Remove it and
simplify machvirt_init().

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>


  Commit: 7f48918a372120a63f18712aa27de5e13b76bbf7
      
https://github.com/qemu/qemu/commit/7f48918a372120a63f18712aa27de5e13b76bbf7
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/arm/virt.c
    M include/hw/arm/virt.h

  Log Message:
  -----------
  hw/arm/virt: Remove VirtMachineClass::disallow_affinity_adjustment

The VirtMachineClass::disallow_affinity_adjustment
field was only used by virt-2.6 machine, which got
removed. Remove it and simplify virt_cpu_mp_affinity().

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
[PMM: Remove now-unused variable]
Signed-off-by: Peter Maydell <[email protected]>


  Commit: 390becbf7faa8e7ecb10386ec21d52e1fcb16c96
      
https://github.com/qemu/qemu/commit/390becbf7faa8e7ecb10386ec21d52e1fcb16c96
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/arm/virt.c

  Log Message:
  -----------
  hw/arm/virt: Remove deprecated virt-2.7 machine

This machine has been supported for a period of more than 6 years.
According to our versioned machine support policy (see commit
ce80c4fa6ff "docs: document special exception for machine type
deprecation & removal") it can now be removed.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>


  Commit: 8d23b1df72124d82441f1ca0b484b7a4cabc542e
      
https://github.com/qemu/qemu/commit/8d23b1df72124d82441f1ca0b484b7a4cabc542e
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/arm/virt-acpi-build.c
    M hw/arm/virt.c
    M include/hw/arm/virt.h

  Log Message:
  -----------
  hw/arm/virt: Remove VirtMachineClass::no_its field

The VirtMachineClass::no_its field was only used by
virt-2.7 machine, which got removed. Remove it and
simplify virt_instance_init() and virt_acpi_build().

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>


  Commit: f54854f98416e2da29cde1b2e4f97efec47af984
      
https://github.com/qemu/qemu/commit/f54854f98416e2da29cde1b2e4f97efec47af984
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/arm/virt.c

  Log Message:
  -----------
  hw/arm/virt: Remove deprecated virt-2.8 machine

This machine has been supported for a period of more than 6 years.
According to our versioned machine support policy (see commit
ce80c4fa6ff "docs: document special exception for machine type
deprecation & removal") it can now be removed.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>


  Commit: 2d53ca0b228b403c69fe0db0339cb3d1ef0839df
      
https://github.com/qemu/qemu/commit/2d53ca0b228b403c69fe0db0339cb3d1ef0839df
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/arm/virt-acpi-build.c
    M hw/arm/virt.c
    M include/hw/arm/virt.h

  Log Message:
  -----------
  hw/arm/virt: Remove VirtMachineClass::claim_edge_triggered_timers field

The VirtMachineClass::claim_edge_triggered_timers field
was only used by virt-2.8 machine, which got removed.
Remove it and simplify fdt_add_timer_nodes() and build_gtdt().

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>


  Commit: 684dd748e0d4b14ddcedddcac5982bc36bedeb69
      
https://github.com/qemu/qemu/commit/684dd748e0d4b14ddcedddcac5982bc36bedeb69
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/arm/virt.c

  Log Message:
  -----------
  hw/arm/virt: Remove deprecated virt-2.9 machine

This machine has been supported for a period of more than 6 years.
According to our versioned machine support policy (see commit
ce80c4fa6ff "docs: document special exception for machine type
deprecation & removal") it can now be removed.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>


  Commit: 21119f57cbd161899542f00cf6bb5087dea3c4e6
      
https://github.com/qemu/qemu/commit/21119f57cbd161899542f00cf6bb5087dea3c4e6
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/arm/virt.c

  Log Message:
  -----------
  hw/arm/virt: Remove deprecated virt-2.10 machine

This machine has been supported for a period of more than 6 years.
According to our versioned machine support policy (see commit
ce80c4fa6ff "docs: document special exception for machine type
deprecation & removal") it can now be removed.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>


  Commit: ea461b203833d37500ba87eb2b8c2129978dd631
      
https://github.com/qemu/qemu/commit/ea461b203833d37500ba87eb2b8c2129978dd631
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/arm/virt.c

  Log Message:
  -----------
  hw/arm/virt: Remove deprecated virt-2.11 machine

This machine has been supported for a period of more than 6 years.
According to our versioned machine support policy (see commit
ce80c4fa6ff "docs: document special exception for machine type
deprecation & removal") it can now be removed.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>


  Commit: 50e5b00067a7cf9a4770ed826b95a3add1c344a4
      
https://github.com/qemu/qemu/commit/50e5b00067a7cf9a4770ed826b95a3add1c344a4
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/arm/virt.c
    M include/hw/arm/virt.h

  Log Message:
  -----------
  hw/arm/virt: Remove VirtMachineClass::smbios_old_sys_ver field

The VirtMachineClass::smbios_old_sys_ver field was
only used by virt-2.11 machine, which got removed.
Remove it and simplify virt_build_smbios().

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>


  Commit: c51af4e8fb024e98a794e3fc919117d0538b02c9
      
https://github.com/qemu/qemu/commit/c51af4e8fb024e98a794e3fc919117d0538b02c9
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/arm/virt.c

  Log Message:
  -----------
  hw/arm/virt: Remove deprecated virt-2.12 machine

This machine has been supported for a period of more than 6 years.
According to our versioned machine support policy (see commit
ce80c4fa6ff "docs: document special exception for machine type
deprecation & removal") it can now be removed.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>


  Commit: 358a1bc71359f03bfb64154ed3238f7c571e7872
      
https://github.com/qemu/qemu/commit/358a1bc71359f03bfb64154ed3238f7c571e7872
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/arm/virt.c
    M include/hw/arm/virt.h

  Log Message:
  -----------
  hw/arm/virt: Remove VirtMachineClass::no_highmem_ecam field

The VirtMachineClass::no_highmem_ecam field was only
used by virt-2.12 machine, which got removed. Remove it
and simplify virt_instance_init().

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>


  Commit: cef2274dfab2e0a1795297b98dd89d59e1d01e85
      
https://github.com/qemu/qemu/commit/cef2274dfab2e0a1795297b98dd89d59e1d01e85
  Author: Bernhard Beschow <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M MAINTAINERS
    M tests/functional/meson.build
    A tests/functional/test_aarch64_imx8mp_evk.py

  Log Message:
  -----------
  tests/functional: Add test for imx8mp-evk board with USDHC coverage

Introduce a functional test which boots Debian 12 on the imx8mp-evk board. Since
the root filesystem resides on an SD card, the test also verifies the basic
operation of the USDHC.

Signed-off-by: Bernhard Beschow <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Message-id: [email protected]
[PMM: added extra blank line as suggested by thuth;
 set timeout to 240s]
Signed-off-by: Peter Maydell <[email protected]>


  Commit: 641f1c53862aec64810c0b93b5b1de49d55fda92
      
https://github.com/qemu/qemu/commit/641f1c53862aec64810c0b93b5b1de49d55fda92
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M docs/about/build-platforms.rst
    M scripts/ci/setup/ubuntu/ubuntu-2204-aarch64.yaml
    M scripts/ci/setup/ubuntu/ubuntu-2204-s390x.yaml
    M tests/docker/dockerfiles/debian-amd64-cross.docker
    M tests/docker/dockerfiles/debian-arm64-cross.docker
    M tests/docker/dockerfiles/debian-armhf-cross.docker
    M tests/docker/dockerfiles/debian-i686-cross.docker
    M tests/docker/dockerfiles/debian-mips64el-cross.docker
    M tests/docker/dockerfiles/debian-mipsel-cross.docker
    M tests/docker/dockerfiles/debian-ppc64el-cross.docker
    M tests/docker/dockerfiles/debian-s390x-cross.docker
    M tests/docker/dockerfiles/debian.docker
    M tests/docker/dockerfiles/ubuntu2204.docker
    M tests/lcitool/mappings.yml
    M tests/lcitool/refresh

  Log Message:
  -----------
  lcitool: use newer Rust for Debian and Ubuntu

On Debian, the rustc-web package provides a newer Rust compiler (1.78)
for all architectures except mips64el.

On Ubuntu, Rust versions up to 1.80 (?) are available as of this writing
for both Jammy (22.04) and Noble (24.04).  However, the path to rustc
and rustdoc must be provided by hand to the configure script using
either command line arguments or environment variables.

Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: e0b2b74f70a85b16e9d4a9b6111e09956ae4cfd9
      
https://github.com/qemu/qemu/commit/e0b2b74f70a85b16e9d4a9b6111e09956ae4cfd9
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M meson.build
    M rust/Cargo.toml
    M rust/clippy.toml

  Log Message:
  -----------
  meson, cargo: require Rust 1.77.0

Reviewed-by: Manos Pitsidianakis <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: e4fb0be1d1d6b67df7709d84d16133b64f455ce8
      
https://github.com/qemu/qemu/commit/e4fb0be1d1d6b67df7709d84d16133b64f455ce8
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M docs/devel/rust.rst
    M rust/hw/char/pl011/src/device_class.rs
    M rust/hw/timer/hpet/src/hpet.rs
    M rust/qemu-api/src/chardev.rs
    M rust/qemu-api/src/irq.rs
    M rust/qemu-api/src/lib.rs
    M rust/qemu-api/src/memory.rs
    M rust/qemu-api/src/qdev.rs
    M rust/qemu-api/src/qom.rs
    M rust/qemu-api/src/timer.rs
    M rust/qemu-api/src/vmstate.rs
    M rust/qemu-api/tests/vmstate_tests.rs

  Log Message:
  -----------
  rust: use std::ffi instead of std::os::raw

This is allowed since Rust 1.64.0.

Reviewed-by: Manos Pitsidianakis <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 51209c2aed343a45f79b522706c807abbdcf01a3
      
https://github.com/qemu/qemu/commit/51209c2aed343a45f79b522706c807abbdcf01a3
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M docs/devel/rust.rst
    M subprojects/bilge-impl-0.2-rs.wrap
    R subprojects/packagefiles/bilge-impl-1.63.0.patch

  Log Message:
  -----------
  rust: let bilge use "let ... else"

"let ... else" was stabilized in 1.65.0; bumping the minimum supported
Rust version means we don't need to patch it out anymore.

Reviewed-by: Manos Pitsidianakis <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 465a4b80e2afd93f2eb4c9f55233788ebfb47ac0
      
https://github.com/qemu/qemu/commit/465a4b80e2afd93f2eb4c9f55233788ebfb47ac0
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M rust/qemu-api-macros/src/lib.rs

  Log Message:
  -----------
  rust: qemu_api_macros: make pattern matching more readable and efficient

"let ... else" is useful when visiting syntax trees; it avoids multiple
levels of indentation and places the error close to the pattern.

While at it, use "ref" to avoid moving the syntax tree objects.

Reviewed-by: Zhao Liu <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 0823837224be428d643dc7000fa534f8aedea5fd
      
https://github.com/qemu/qemu/commit/0823837224be428d643dc7000fa534f8aedea5fd
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M docs/devel/rust.rst
    M rust/hw/timer/hpet/src/fw_cfg.rs
    M rust/qemu-api/src/zeroable.rs

  Log Message:
  -----------
  rust: use MaybeUninit::zeroed() in const context

Reviewed-by: Manos Pitsidianakis <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 3a1c694d74deb478d9822e585e90c5903852eb84
      
https://github.com/qemu/qemu/commit/3a1c694d74deb478d9822e585e90c5903852eb84
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M rust/qemu-api/src/qom.rs

  Log Message:
  -----------
  rust: qom: fix TODO about zeroability of classes

The proposed suggestion is not correct.  First it is not necessary for
*all* classes to be Zeroable, only for Rust-defined ones; classes
defined in C never implement ObjectImpl.

Second, the parent class field need not be Zeroable.  For example,
ChardevClass's chr_write and chr_be_event fields cannot be NULL,
therefore ChardevClass cannot be Zeroable.  However, char_class_init()
initializes them, therefore ChardevClass could be subclassed by Rust code.

Reviewed-by: Manos Pitsidianakis <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 5df3fe062fb0be9a6689dc0336087b214dd30e5c
      
https://github.com/qemu/qemu/commit/5df3fe062fb0be9a6689dc0336087b214dd30e5c
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M docs/devel/rust.rst
    M rust/Cargo.toml
    M rust/hw/timer/hpet/src/hpet.rs
    M rust/qemu-api/src/cell.rs
    M rust/qemu-api/src/chardev.rs
    M rust/qemu-api/src/qom.rs
    M rust/qemu-api/src/timer.rs

  Log Message:
  -----------
  rust: enable clippy::ptr_cast_constness

Reviewed-by: Manos Pitsidianakis <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: b134a09ffab3b918979007cf40f603e5b54ed597
      
https://github.com/qemu/qemu/commit/b134a09ffab3b918979007cf40f603e5b54ed597
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M docs/devel/rust.rst
    M rust/Cargo.lock
    M rust/Cargo.toml
    M rust/hw/char/pl011/src/device.rs
    M rust/hw/timer/hpet/src/hpet.rs
    M rust/qemu-api-macros/src/lib.rs
    M rust/qemu-api/Cargo.toml
    M rust/qemu-api/build.rs
    M rust/qemu-api/meson.build
    M rust/qemu-api/src/lib.rs
    R rust/qemu-api/src/offset_of.rs
    M rust/qemu-api/src/qdev.rs
    M rust/qemu-api/src/vmstate.rs
    M rust/qemu-api/tests/tests.rs
    M rust/qemu-api/tests/vmstate_tests.rs

  Log Message:
  -----------
  rust: remove offset_of replacement

Reviewed-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: f117857b39fb42c56be23316e2d76db5b13cec8d
      
https://github.com/qemu/qemu/commit/f117857b39fb42c56be23316e2d76db5b13cec8d
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M docs/devel/rust.rst
    M rust/hw/char/pl011/src/device_class.rs
    M rust/hw/char/pl011/src/lib.rs
    M rust/hw/timer/hpet/src/hpet.rs
    M rust/hw/timer/hpet/src/lib.rs
    M rust/qemu-api/meson.build
    R rust/qemu-api/src/c_str.rs
    M rust/qemu-api/src/cell.rs
    M rust/qemu-api/src/lib.rs
    M rust/qemu-api/src/vmstate.rs
    M rust/qemu-api/tests/tests.rs
    M rust/qemu-api/tests/vmstate_tests.rs

  Log Message:
  -----------
  rust: replace c_str! with c"" literals

Reviewed-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 1017041ff4f04e3bdff6404b366d53c836f5d2fe
      
https://github.com/qemu/qemu/commit/1017041ff4f04e3bdff6404b366d53c836f5d2fe
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M docs/devel/rust.rst

  Log Message:
  -----------
  docs: rust: update for newer minimum supported version

Remove leftover notes for Rust changes between 1.63.0 and 1.77.0.

Reviewed-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 7abf0d95ac6437b38437ad75711c081363995285
      
https://github.com/qemu/qemu/commit/7abf0d95ac6437b38437ad75711c081363995285
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M target/i386/emulate/x86_decode.c
    M target/i386/emulate/x86_emu.c

  Log Message:
  -----------
  target/i386/emulate: fix target_ulong format strings

Do not assume that TARGET_FMT_lx is %llx.

Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: c6b04613bdc9a911c0fbe7c114a421991721f878
      
https://github.com/qemu/qemu/commit/c6b04613bdc9a911c0fbe7c114a421991721f878
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M rust/Cargo.toml
    M rust/clippy.toml
    M rust/qemu-api-macros/src/lib.rs
    M rust/qemu-api/build.rs

  Log Message:
  -----------
  rust: clippy: enable uninlined_format_args lint

Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: eb8f7292e1315be0e36000a847b77153dcf460ef
      
https://github.com/qemu/qemu/commit/eb8f7292e1315be0e36000a847b77153dcf460ef
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M .gitlab-ci.d/container-cross.yml
    M .gitlab-ci.d/crossbuilds.yml

  Log Message:
  -----------
  ci: run RISC-V cross jobs by default

The riscv64-debian-cross container is based on Trixie rather than sid
these days, so it is pretty much as stable as the others.  Enable it
by default.

Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 821ee1c31427a4e08af030469311c2d8ed96f1d1
      
https://github.com/qemu/qemu/commit/821ee1c31427a4e08af030469311c2d8ed96f1d1
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M docs/devel/build-system.rst

  Log Message:
  -----------
  docs: build-system: fix typo

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 44d3ec593b0afd2f8cfaf2ba2149465ee3541695
      
https://github.com/qemu/qemu/commit/44d3ec593b0afd2f8cfaf2ba2149465ee3541695
  Author: Kohei Tokunaga <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M target/arm/helper.c

  Log Message:
  -----------
  target/arm/helper.c: Fix type conflict of GLib function pointers

On Emscripten, function pointer casts can result in runtime failures due to
strict function signature checks. This affects the use of g_list_sort and
g_slist_sort, which internally perform function pointer casts that are not
supported by Emscripten. To avoid these issues, g_list_sort_with_data and
g_slist_sort_with_data should be used instead, as they do not rely on
function pointer casting.

Signed-off-by: Kohei Tokunaga <[email protected]>
Link: 
https://lore.kernel.org/r/7d56c82382e8b4f1694b6d7883b2ce3084fdc72d.1745820062.git.ktokunaga.m...@gmail.com
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 84cb7025fa9378993dbd6242ab2c3fa556ed2a2c
      
https://github.com/qemu/qemu/commit/84cb7025fa9378993dbd6242ab2c3fa556ed2a2c
  Author: Kohei Tokunaga <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M target/i386/cpu.c

  Log Message:
  -----------
  target/i386/cpu.c: Fix type conflict of GLib function pointers

On Emscripten, function pointer casts can result in runtime failures due to
strict function signature checks. This affects the use of g_list_sort and
g_slist_sort, which internally perform function pointer casts that are not
supported by Emscripten. To avoid these issues, g_list_sort_with_data and
g_slist_sort_with_data should be used instead, as they do not rely on
function pointer casting.

Signed-off-by: Kohei Tokunaga <[email protected]>
Link: 
https://lore.kernel.org/r/8ee6c2b02c97d5db358c3eb290d00afe71d1ceb7.1745820062.git.ktokunaga.m...@gmail.com
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: bea4eb18c501e8b55debb1bdc6ccfee2791e1643
      
https://github.com/qemu/qemu/commit/bea4eb18c501e8b55debb1bdc6ccfee2791e1643
  Author: Kohei Tokunaga <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M target/ppc/cpu_init.c

  Log Message:
  -----------
  target/ppc: Fix type conflict of GLib function pointers

On Emscripten, function pointer casts can result in runtime failures due to
strict function signature checks. This affects the use of g_list_sort and
g_slist_sort, which internally perform function pointer casts that are not
supported by Emscripten. To avoid these issues, g_list_sort_with_data and
g_slist_sort_with_data should be used instead, as they do not rely on
function pointer casting.

Signed-off-by: Kohei Tokunaga <[email protected]>
Link: 
https://lore.kernel.org/r/d917055d35f5ff7316ccdcbdf57af9a7bd85bf29.1745820062.git.ktokunaga.m...@gmail.com
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: c4eb098bc1cf3dbcc3627352031c086a6969a7cf
      
https://github.com/qemu/qemu/commit/c4eb098bc1cf3dbcc3627352031c086a6969a7cf
  Author: Kohei Tokunaga <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M target/s390x/cpu_models.c

  Log Message:
  -----------
  target/s390x: Fix type conflict of GLib function pointers

On Emscripten, function pointer casts can result in runtime failures due to
strict function signature checks. This affects the use of g_list_sort and
g_slist_sort, which internally perform function pointer casts that are not
supported by Emscripten. To avoid these issues, g_list_sort_with_data and
g_slist_sort_with_data should be used instead, as they do not rely on
function pointer casting.

Signed-off-by: Kohei Tokunaga <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Link: 
https://lore.kernel.org/r/e91c4e266b839f62b5c41173a05896b210ae1180.1745820062.git.ktokunaga.m...@gmail.com
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 4cd5a25557cab10f8ef81407bed0dd6512526c1c
      
https://github.com/qemu/qemu/commit/4cd5a25557cab10f8ef81407bed0dd6512526c1c
  Author: Kohei Tokunaga <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M include/glib-compat.h

  Log Message:
  -----------
  include/glib-compat.h: Poison g_list_sort and g_slist_sort

On Emscripten, function pointer casts can result in runtime failures due to
strict function signature checks. This affects the use of g_list_sort and
g_slist_sort, which internally perform function pointer casts that are not
supported by Emscripten. To avoid these issues, g_list_sort_with_data and
g_slist_sort_with_data should be used instead, as they do not rely on
function pointer casting.

Signed-off-by: Kohei Tokunaga <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Link: 
https://lore.kernel.org/r/fa57c8069d6c723f5b947560677f4ca596334330.1745820062.git.ktokunaga.m...@gmail.com
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 4c7c05171902d2da678f85c035efdf412ce91c4f
      
https://github.com/qemu/qemu/commit/4c7c05171902d2da678f85c035efdf412ce91c4f
  Author: Kohei Tokunaga <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M include/qemu/cacheflush.h
    M util/cacheflush.c

  Log Message:
  -----------
  util/cacheflush.c: Update cache flushing mechanism for Emscripten

Although __builtin___clear_cache is used to flush the instruction cache for
a specified memory region, this operation doesn't apply to wasm, as its
memory isn't executable. Moreover, Emscripten does not support this builtin
and fails to compile it with the following error.

> fatal error: error in backend: llvm.clear_cache is not supported on wasm

To resolve this, this commit removes the call to __builtin___clear_cache for
Emscripten build.

Signed-off-by: Kohei Tokunaga <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Link: 
https://lore.kernel.org/r/2926a798fa52a3a5b11c3df4edd1643d2b7cdcb9.1745820062.git.ktokunaga.m...@gmail.com
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 45e82e495d6a9bf59ee80ed2d4c362596f1b559e
      
https://github.com/qemu/qemu/commit/45e82e495d6a9bf59ee80ed2d4c362596f1b559e
  Author: Kohei Tokunaga <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M block/file-posix.c

  Log Message:
  -----------
  block: Add including of ioctl header for Emscripten build

Including <sys/ioctl.h> is still required on Emscripten, just like on other
platforms, to make the ioctl function available.

Signed-off-by: Kohei Tokunaga <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Link: 
https://lore.kernel.org/r/49b6ecdbd23ff83e3f191ef8a9f7cc2feeaea43f.1745820062.git.ktokunaga.m...@gmail.com
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 208808242f8a34ac93e73c1c1dbafe4c00498f5e
      
https://github.com/qemu/qemu/commit/208808242f8a34ac93e73c1c1dbafe4c00498f5e
  Author: Kohei Tokunaga <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M block/file-posix.c

  Log Message:
  -----------
  block: Fix type conflict of the copy_file_range stub

Emscripten doesn't provide copy_file_range implementation but it declares
this function in its headers. Meson correctly detects the missing
implementation and unsets HAVE_COPY_FILE_RANGE. However, the stub defined in
file-posix.c causes a type conflict with the declaration from Emscripten
during compilation.

To fix this error, this commit updates the stub implementation in
file-posix.c to exactly match the declaration in Emscripten's headers. The
manpage also aligns with this signature.

Signed-off-by: Kohei Tokunaga <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Link: 
https://lore.kernel.org/r/938d2beba15d4bd496a600ee401995fbaa385c62.1745820062.git.ktokunaga.m...@gmail.com
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 0f46bf659f015d4860c7212b4a6f0656b312d4f4
      
https://github.com/qemu/qemu/commit/0f46bf659f015d4860c7212b4a6f0656b312d4f4
  Author: Kohei Tokunaga <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M MAINTAINERS
    M include/qemu/osdep.h
    A include/system/os-wasm.h
    A os-wasm.c

  Log Message:
  -----------
  include/qemu/osdep.h: Add Emscripten-specific OS dependencies

On emscripten, some implementations in os-posix.c can't be used such as
daemonizing and changing user. This commit introduces os-wasm.c and
os-wasm.h which are forked from os-posix.c and os-posix.h and patched for
targetting Emscripten.

Signed-off-by: Kohei Tokunaga <[email protected]>
Link: 
https://lore.kernel.org/r/9fc7b106ecf86675b4532bd6778b7b5945442f89.1745820062.git.ktokunaga.m...@gmail.com
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 1a8964424036cdfe1bd11180953d4e95123990f5
      
https://github.com/qemu/qemu/commit/1a8964424036cdfe1bd11180953d4e95123990f5
  Author: Kohei Tokunaga <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M qemu-options.hx
    M system/vl.c

  Log Message:
  -----------
  Disable options unsupported on Emscripten

Daemonizing and run-with aren't supported on Emscripten so disable these
flags.

Signed-off-by: Kohei Tokunaga <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Link: 
https://lore.kernel.org/r/79c5e591b634762703f3eef6427a192d145799e4.1745820062.git.ktokunaga.m...@gmail.com
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 8e72b0eb1842ac9813228ad9d9c29203f3823d99
      
https://github.com/qemu/qemu/commit/8e72b0eb1842ac9813228ad9d9c29203f3823d99
  Author: Kohei Tokunaga <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M backends/meson.build
    M system/memory.c
    M system/physmem.c
    M util/meson.build
    M util/oslib-posix.c

  Log Message:
  -----------
  util: exclude mmap-alloc.c from compilation target on Emscripten

Emscripten does not support partial unmapping of mmapped memory
regions[1]. This limitation prevents correct implementation of qemu_ram_mmap
and qemu_ram_munmap, which rely on partial unmap behavior.

As a workaround, this commit excludes mmap-alloc.c from the Emscripten
build. Instead, for Emscripten build, this modifies qemu_anon_ram_alloc to
use qemu_memalign in place of qemu_ram_mmap, and disable memory backends
that rely on mmap, such as memory-backend-file and memory-backend-shm.

[1] 
https://github.com/emscripten-core/emscripten/blob/d4a74336f23214bf3304d9eb0d03966786b30a36/system/lib/libc/emscripten_mmap.c#L61

Signed-off-by: Kohei Tokunaga <[email protected]>
Link: 
https://lore.kernel.org/r/76834f933ee4f14eeb5289d21c59d306886e58e9.1745820062.git.ktokunaga.m...@gmail.com
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 5b78d120ffa2c343728600082777a49cbc825ee1
      
https://github.com/qemu/qemu/commit/5b78d120ffa2c343728600082777a49cbc825ee1
  Author: Kohei Tokunaga <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M MAINTAINERS
    A util/coroutine-wasm.c

  Log Message:
  -----------
  util: Add coroutine backend for emscripten

Emscripten does not support couroutine methods currently used by QEMU but
provides a coroutine implementation called "fiber". This commit introduces a
coroutine backend using fiber. Note that fiber does not support submitting
coroutines to other threads.

Signed-off-by: Kohei Tokunaga <[email protected]>
Acked-by: Stefan Hajnoczi <[email protected]>
Link: 
https://lore.kernel.org/r/006b683fd578ed6303a2dc8679094da9a7e6dfb4.1745820062.git.ktokunaga.m...@gmail.com
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: ccc403ed5844613849deeaf18cba380b55b6e9bf
      
https://github.com/qemu/qemu/commit/ccc403ed5844613849deeaf18cba380b55b6e9bf
  Author: Kohei Tokunaga <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M MAINTAINERS
    A configs/meson/emscripten.txt
    M configure
    M meson.build
    M meson_options.txt
    M scripts/meson-buildoptions.sh

  Log Message:
  -----------
  meson: Add wasm build in build scripts

has_int128_type is set to false on emscripten as of now to avoid errors by
libffi. Tests are disabled on emscripten because they rely on host
features that aren't supported by emscripten (e.g. fork and unix
socket).

Signed-off-by: Kohei Tokunaga <[email protected]>
Link: 
https://lore.kernel.org/r/ad03b3b180335f59e785e930968077bf15c46260.1745820062.git.ktokunaga.m...@gmail.com
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 8574be0ebc8ad7729ad146055317550e5f6c3e1d
      
https://github.com/qemu/qemu/commit/8574be0ebc8ad7729ad146055317550e5f6c3e1d
  Author: Kohei Tokunaga <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M MAINTAINERS
    A tests/docker/dockerfiles/emsdk-wasm32-cross.docker

  Log Message:
  -----------
  tests: Add Dockerfile containing dependencies for Emscripten build

The added Dockerfile is based on the emsdk image, which includes the
Emscripten toolchain. It also cross-compiles the necessary dependencies
(glib, libffi, pixman, and zlib) for the Emscripten target environment.

Signed-off-by: Kohei Tokunaga <[email protected]>
Link: 
https://lore.kernel.org/r/8bed6e9d46ef09328a87320928b5dec575d1e435.1745820062.git.ktokunaga.m...@gmail.com
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: e6b9b79c3076777b791f72ebdbc9d37ad8005fe9
      
https://github.com/qemu/qemu/commit/e6b9b79c3076777b791f72ebdbc9d37ad8005fe9
  Author: Kohei Tokunaga <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M .gitlab-ci.d/buildtest-template.yml
    M .gitlab-ci.d/buildtest.yml
    M .gitlab-ci.d/container-cross.yml

  Log Message:
  -----------
  gitlab: Enable CI for wasm build

Add GitLab CI job that builds QEMU using emscripten. The build runs in the
container defined in tests/docker/dockerfiles/emsdk-wasm32-cross.docker.

Signed-off-by: Kohei Tokunaga <[email protected]>
Link: 
https://lore.kernel.org/r/ade0deb2dc65618a91755590f6729485b4001b94.1745820062.git.ktokunaga.m...@gmail.com
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: d5df2bb0faad0e766cdd9f705d41b6092391153a
      
https://github.com/qemu/qemu/commit/d5df2bb0faad0e766cdd9f705d41b6092391153a
  Author: Tim Lee <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/arm/npcm8xx.c
    M include/hw/arm/npcm8xx.h

  Log Message:
  -----------
  hw/arm: Attach PSPI module to NPCM8XX SoC

Nuvoton's PSPI is a general purpose SPI module which enables
connections to SPI-based peripheral devices. Attach it to the NPCM8XX.

Tested:
NPCM8XX PSPI driver probed successfully from dmesg log.

Signed-off-by: Tim Lee <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Hao Wu <[email protected]>
Reviewed-by: Tyrone Ting <[email protected]>
Message-id: [email protected]
Signed-off-by: Peter Maydell <[email protected]>


  Commit: 8ed7c0b6488a7f20318d6ba414f1cbcd0ed92afe
      
https://github.com/qemu/qemu/commit/8ed7c0b6488a7f20318d6ba414f1cbcd0ed92afe
  Author: Peter Maydell <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M target/arm/tcg/translate.c

  Log Message:
  -----------
  target/arm: Don't assert() for ISB/SB inside IT block

If the guest code has an ISB or SB insn inside an IT block, we
generate incorrect code which trips a TCG assertion:

qemu-system-arm: ../tcg/tcg-op.c:3343: void tcg_gen_goto_tb(unsigned int): 
Assertion `(tcg_ctx->goto_tb_issue_mask & (1 << idx)) == 0' failed.

This is because we call gen_goto_tb(dc, 1, ...) twice:

 brcond_i32 ZF,$0x0,ne,$L1
 add_i32 pc,pc,$0x4
 goto_tb $0x1
 exit_tb $0x73d948001b81
 set_label $L1
 add_i32 pc,pc,$0x4
 goto_tb $0x1
 exit_tb $0x73d948001b81

Both calls are in arm_tr_tb_stop(), one for the
DISAS_NEXT/DISAS_TOO_MANY handling, and one for the dc->condjump
condition-failed codepath.  The DISAS_NEXT handling doesn't have this
problem because arm_post_translate_insn() does the handling of "emit
the label for the condition-failed conditional execution" and so
arm_tr_tb_stop() doesn't have dc->condjump set.  But for
DISAS_TOO_MANY we don't do that.

Fix the bug by making arm_post_translate_insn() handle the
DISAS_TOO_MANY case.  This only affects the SB and ISB insns when
used in Thumb mode inside an IT block: only these insns specifically
set is_jmp to TOO_MANY, and their A32 encodings are unconditional.

For the major TOO_MANY case (breaking the TB because it would cross a
page boundary) we do that check and set is_jmp to TOO_MANY only after
the call to arm_post_translate_insn(); so arm_post_translate_insn()
sees is_jmp == DISAS_NEXT, and  we emit the correct code for that
situation.

With this fix we generate the somewhat more sensible set of TCG ops:
 brcond_i32 ZF,$0x0,ne,$L1
 set_label $L1
 add_i32 pc,pc,$0x4
 goto_tb $0x1
 exit_tb $0x7c5434001b81

(NB: the TCG optimizer doesn't optimize out the jump-to-next, but
we can't really avoid emitting it because we don't know at the
point we're emitting the handling for the condexec check whether
this insn is going to happen to be a nop for us or not.)

Cc: [email protected]
Fixes: https://gitlab.com/qemu-project/qemu/-/issues/2942
Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-id: [email protected]


  Commit: 82707dd4f07613eed8d639956a43bddffca5cd5c
      
https://github.com/qemu/qemu/commit/82707dd4f07613eed8d639956a43bddffca5cd5c
  Author: Peter Maydell <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M docs/devel/codebase.rst
    M docs/system/qemu-block-drivers.rst.inc

  Log Message:
  -----------
  docs: Don't define duplicate label in qemu-block-drivers.rst.inc

Sphinx requires that labels within documents are unique across the
whole manual.  This is because the "create a hyperlink" directive
specifies only the name of the label, not a filename+label.  Some
Sphinx versions will warn about duplicate labels, but even if there
is no warning there is still an ambiguity and no guarantee that the
hyperlink will be created to the right target.

For QEMU this is awkward, because we have various .rst.inc fragments
which we include into multiple .rst files.  If you define a label in
the .rst.inc file then it will be a duplicate label.  We have mostly
worked around this by not putting labels into those .rst.inc files,
or by adding "insert a label" functionality into the hxtool extension
(see commit 1eeb432a953b0 "doc/sphinx/hxtool.py: add optional label
argument to SRST directive").

Unfortunately in commit 7f6314427e78 ("docs/devel: add a codebase
section") we accidentally added a duplicate label, because not all
Sphinx versions warn about the mistake.

In this case the link was only from the developer docs codebase
summary, so as the simplest fix for the stable branch, we drop
the link entirely.

Cc: [email protected]
Fixes: 1eeb432a953b0 "doc/sphinx/hxtool.py: add optional label argument to SRST 
directive"
Reported-by: Dario Faggioli <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
Acked-by: Eric Blake <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Message-id: [email protected]


  Commit: d3a161cdd56a768b89f164935033249dc16d5250
      
https://github.com/qemu/qemu/commit/d3a161cdd56a768b89f164935033249dc16d5250
  Author: Peter Maydell <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M target/arm/arm-qmp-cmds.c
    M target/arm/kvm.c
    M target/arm/kvm_arm.h

  Log Message:
  -----------
  target/arm/kvm: Drop support for kernels without KVM_ARM_PREFERRED_TARGET

Our KVM code includes backwards compatibility support for ancient
kernels which don't support the KVM_ARM_PREFERRED_TARGET ioctl.  This
ioctl was introduced in kernel commit 42c4e0c77ac91 in September
2013 and is in v3.12, so it's reasonable to assume it's present.

(We already dropped support for kernels without KVM_CAP_DEVICE_CTRL,
a feature added to the kernel in April 2013, in our commit
84f298ea3e; so there are only about six months' worth of kernels,
from v3.9 to v3.11, that we don't already fail to run on and that
this commit is dropping handling for.)

Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-id: [email protected]


  Commit: 30f7e6b6926451335cf9f95aff5439c6230d9329
      
https://github.com/qemu/qemu/commit/30f7e6b6926451335cf9f95aff5439c6230d9329
  Author: Bernhard Beschow <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/pci-host/designware.c

  Log Message:
  -----------
  hw/pci-host/designware: Remove unused include

The DEFINE_TYPES() macro doesn't need the qemu/module.h include.

Fixes: 13a07eb146c8 ("hw/pci-host/designware: Declare CPU QOM types using 
DEFINE_TYPES() macro")
Signed-off-by: Bernhard Beschow <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: [email protected]
Signed-off-by: Peter Maydell <[email protected]>


  Commit: 4fb17d01ef35411280475c0a80e1312baad5dc12
      
https://github.com/qemu/qemu/commit/4fb17d01ef35411280475c0a80e1312baad5dc12
  Author: Bernhard Beschow <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/pci-host/designware.c

  Log Message:
  -----------
  hw/pci-host/designware: Fix viewport configuration

Commit 6970f91ac781, "hw/pci-host/designware: Use deposit/extract
API" accidentally introduced a copy-and-paste error, causing Linux
6.14 to hang when initializing the PCIe bridge on the imx8mp-evk
machine.  This fix corrects the error.

Fixes: 6970f91ac781 ("hw/pci-host/designware: Use deposit/extract API")
Signed-off-by: Bernhard Beschow <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: [email protected]
Signed-off-by: Peter Maydell <[email protected]>


  Commit: eba837a31b9579e30cc6d7ecb4b5c2662a6ffaba
      
https://github.com/qemu/qemu/commit/eba837a31b9579e30cc6d7ecb4b5c2662a6ffaba
  Author: Bernhard Beschow <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/gpio/imx_gpio.c

  Log Message:
  -----------
  hw/gpio/imx_gpio: Fix interpretation of GDIR polarity

According to the i.MX 8M Plus reference manual, a GPIO pin is
configured as an output when the corresponding bit in the GDIR
register is set.  The function imx_gpio_set_int_line() is intended to
be a no-op if the pin is configured as an output, returning early in
such cases.  However, it inverts the condition.  Fix this by
returning early when the bit is set.

cc: [email protected]
Fixes: f44272809779 ("i.MX: Add GPIO device")
Signed-off-by: Bernhard Beschow <[email protected]>
Message-id: [email protected]
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>


  Commit: ecb0cfb8a2b09fb0352b7adb83f18888be47a1cf
      
https://github.com/qemu/qemu/commit/ecb0cfb8a2b09fb0352b7adb83f18888be47a1cf
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/arm/virt.c

  Log Message:
  -----------
  hw/arm/virt: Update comment about Multiprocessor Affinity Register

Support on ARMv7 has been dropped in commit 82bf7ae84ce
("target/arm: Remove KVM support for 32-bit Arm hosts").
Update the comment in virt_cpu_mp_affinity() to avoid
mentioning it.

Suggested-by: Andrew Jones <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-id: [email protected]
Signed-off-by: Peter Maydell <[email protected]>


  Commit: bac2532735d485dc3da38ece44300ad0abf5b51c
      
https://github.com/qemu/qemu/commit/bac2532735d485dc3da38ece44300ad0abf5b51c
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/arm/virt.c

  Log Message:
  -----------
  hw/arm/virt: Remove deprecated virt-3.0 machine

This machine has been supported for a period of more than 6 years.
According to our versioned machine support policy (see commit
ce80c4fa6ff "docs: document special exception for machine type
deprecation & removal") it can now be removed.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-id: [email protected]
Signed-off-by: Peter Maydell <[email protected]>


  Commit: c4aca607c199a3706ef77e123afed377fb913b4f
      
https://github.com/qemu/qemu/commit/c4aca607c199a3706ef77e123afed377fb913b4f
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/arm/virt.c

  Log Message:
  -----------
  hw/arm/virt: Remove deprecated virt-3.1 machine

This machine has been supported for a period of more than 6 years.
According to our versioned machine support policy (see commit
ce80c4fa6ff "docs: document special exception for machine type
deprecation & removal") it can now be removed.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-id: [email protected]
Signed-off-by: Peter Maydell <[email protected]>


  Commit: 607e1208b53ac713a76d158f4abc4cd2e8870051
      
https://github.com/qemu/qemu/commit/607e1208b53ac713a76d158f4abc4cd2e8870051
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/arm/virt.c

  Log Message:
  -----------
  hw/arm/virt: Remove deprecated virt-4.0 machine

This machine has been supported for a period of more than 6 years.
According to our versioned machine support policy (see commit
ce80c4fa6ff "docs: document special exception for machine type
deprecation & removal") it can now be removed.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-id: [email protected]
Signed-off-by: Peter Maydell <[email protected]>


  Commit: 5bfa75e88e9b1ffe957756054f576c9aa2b377be
      
https://github.com/qemu/qemu/commit/5bfa75e88e9b1ffe957756054f576c9aa2b377be
  Author: Pierrick Bouvier <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M bsd-user/main.c

  Log Message:
  -----------
  bsd-user: add option to enable plugins

Nothing prevent plugins to be enabled on this platform for user
binaries, only the option in the driver is missing.

Signed-off-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: f8482626410ea6418414fac9f6edab86c9111c33
      
https://github.com/qemu/qemu/commit/f8482626410ea6418414fac9f6edab86c9111c33
  Author: Steve Sistare <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M qom/qom-qmp-cmds.c

  Log Message:
  -----------
  qom: Factor qom_resolve_path() out

Factor out a helper to resolve the user's path and print error messages.
No functional change.

Signed-off-by: Steve Sistare <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 1fb0ec75d3d9674d2c5ae437b58e11710764cb78
      
https://github.com/qemu/qemu/commit/1fb0ec75d3d9674d2c5ae437b58e11710764cb78
  Author: Gustavo Romero <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M qom/object.c

  Log Message:
  -----------
  qom/object: Fix typo in comment

Fix duplicate preposition in comment.

Signed-off-by: Gustavo Romero <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 544c4be8eec860b0a5c622e43f4e5b3dfc53616a
      
https://github.com/qemu/qemu/commit/544c4be8eec860b0a5c622e43f4e5b3dfc53616a
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M include/hw/core/cpu.h
    M target/alpha/machine.c
    M target/hppa/machine.c
    M target/microblaze/machine.c
    M target/openrisc/machine.c

  Log Message:
  -----------
  target/migration: Inline VMSTATE_CPU()

VMSTATE_CPU() is only used in 4 places and doesn't provide
much, directly inline it using VMSTATE_STRUCT().

This removes the last COMPILING_PER_TARGET in "hw/core/cpu.h".

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Acked-by: Peter Xu <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>


  Commit: 628f79cc3017fe7969e9e94dd846b747a40c3eb8
      
https://github.com/qemu/qemu/commit/628f79cc3017fe7969e9e94dd846b747a40c3eb8
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M target/i386/hvf/hvf.c

  Log Message:
  -----------
  target/i386/hvf: Include missing 'exec/target_page.h' header

Include "exec/target_page.h" to be able to compile HVF on x86_64:

  ../target/i386/hvf/hvf.c:139:49: error: use of undeclared identifier 
'TARGET_PAGE_SIZE'
              uint64_t dirty_page_start = gpa & ~(TARGET_PAGE_SIZE - 1u);
                                                ^
  ../target/i386/hvf/hvf.c:141:45: error: use of undeclared identifier 
'TARGET_PAGE_SIZE'
              hv_vm_protect(dirty_page_start, TARGET_PAGE_SIZE,

Fixes: 9c2ff9cdc9b ("exec/cpu-all: remove exec/target_page include")
Reported-by: Pierrick Bouvier <[email protected]>
Reported-by: Wei Liu <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>


  Commit: 5d9576cab1e8538e81e53cb001de4e8a4b22245c
      
https://github.com/qemu/qemu/commit/5d9576cab1e8538e81e53cb001de4e8a4b22245c
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M include/system/hvf.h
    M include/system/hvf_int.h

  Log Message:
  -----------
  system/hvf: Avoid including 'cpu.h'

"system/hvf.h" doesn't need to include a full "cpu.h",
only "exec/vaddr.h" and "qemu/queue.h" are required.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>


  Commit: 522b3333b453092a9320330ca9a8b06444fc41c1
      
https://github.com/qemu/qemu/commit/522b3333b453092a9320330ca9a8b06444fc41c1
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M MAINTAINERS
    A accel/stubs/hvf-stub.c
    M accel/stubs/meson.build
    M include/system/hvf.h

  Log Message:
  -----------
  system/hvf: Expose hvf_enabled() to common code

Currently hvf_enabled() is restricted to target-specific code.
By defining CONFIG_HVF_IS_POSSIBLE we allow its use anywhere.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>


  Commit: 1339566cb50db399efb253bccc874df598462d71
      
https://github.com/qemu/qemu/commit/1339566cb50db399efb253bccc874df598462d71
  Author: Pierrick Bouvier <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/hyperv/meson.build

  Log Message:
  -----------
  hw/hyperv/hv-balloon-stub: common compilation unit

Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 3d1561728d8585c7a9689ae3c229d593efe16104
      
https://github.com/qemu/qemu/commit/3d1561728d8585c7a9689ae3c229d593efe16104
  Author: Pierrick Bouvier <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M include/hw/hyperv/hyperv.h

  Log Message:
  -----------
  hw/hyperv/hyperv.h: header cleanup

Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 10684f7fbe8b36e5663dbb802d83721f88d04c58
      
https://github.com/qemu/qemu/commit/10684f7fbe8b36e5663dbb802d83721f88d04c58
  Author: Pierrick Bouvier <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/hyperv/meson.build
    M hw/hyperv/vmbus.c

  Log Message:
  -----------
  hw/hyperv/vmbus: common compilation unit

Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 6867a56e650aa2d0ae139fe7886864128eeb2f50
      
https://github.com/qemu/qemu/commit/6867a56e650aa2d0ae139fe7886864128eeb2f50
  Author: Pierrick Bouvier <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/hyperv/meson.build
    M hw/hyperv/syndbg.c

  Log Message:
  -----------
  hw/hyperv/syndbg: common compilation unit

We assume that page size is 4KB only, to dimension buffer size for
receiving message.

Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 0699d0beaf4ba42beaed8f663bebd8bbaa952829
      
https://github.com/qemu/qemu/commit/0699d0beaf4ba42beaed8f663bebd8bbaa952829
  Author: Pierrick Bouvier <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/hyperv/meson.build

  Log Message:
  -----------
  hw/hyperv/balloon: common balloon compilation units

Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 7ea18590ff0fdda79f7e584b6cfd47dba4e885c9
      
https://github.com/qemu/qemu/commit/7ea18590ff0fdda79f7e584b6cfd47dba4e885c9
  Author: Pierrick Bouvier <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/hyperv/meson.build

  Log Message:
  -----------
  hw/hyperv/hyperv_testdev: common compilation unit

Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 15346a81f994b00de04379bcf2783955b801364b
      
https://github.com/qemu/qemu/commit/15346a81f994b00de04379bcf2783955b801364b
  Author: Pierrick Bouvier <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/hyperv/hyperv.c
    M hw/hyperv/meson.build

  Log Message:
  -----------
  hw/hyperv/hyperv: common compilation unit

Signed-off-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 17b252d3ea1af63ecc1167a85233e32c4a0f8841
      
https://github.com/qemu/qemu/commit/17b252d3ea1af63ecc1167a85233e32c4a0f8841
  Author: Gustavo Romero <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/core/machine.c

  Log Message:
  -----------
  hw/core/machine: Fix indentation

Fix indentation for some elements in the hardware compat arrays.

Signed-off-by: Gustavo Romero <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 0c8265ffbbd5f36a3dd3ca6954f9129e7c4fde4d
      
https://github.com/qemu/qemu/commit/0c8265ffbbd5f36a3dd3ca6954f9129e7c4fde4d
  Author: Eric Auger <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/pci/pcie_port.c

  Log Message:
  -----------
  hw/pci/pcie_port: Fix pcie_slot_is_hotpluggbale_bus typo

Signed-off-by: Eric Auger <[email protected]>
Reviewed-by: Gustavo Romero <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: ce00a8180e88303d23d8b728a7152f63ee264a3c
      
https://github.com/qemu/qemu/commit/ce00a8180e88303d23d8b728a7152f63ee264a3c
  Author: Eric Auger <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/acpi/generic_event_device.c

  Log Message:
  -----------
  hw/acpi/ged: Fix wrong identation

Signed-off-by: Eric Auger <[email protected]>
Reviewed-by: Gustavo Romero <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 5e9ad82d33b80e12b60086e34a9825d9d2212562
      
https://github.com/qemu/qemu/commit/5e9ad82d33b80e12b60086e34a9825d9d2212562
  Author: Eric Auger <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  hw/i386/acpi-build: Fix build_append_notfication_callback typo

Rename build_append_notfication_callback into
build_append_notification_callback

Signed-off-by: Eric Auger <[email protected]>
Reviewed-by: Gustavo Romero <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 5190e9f18ba2b198c73072498f306b7d70f15e8e
      
https://github.com/qemu/qemu/commit/5190e9f18ba2b198c73072498f306b7d70f15e8e
  Author: Gustavo Romero <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/i386/acpi-build.h

  Log Message:
  -----------
  hw/i386/acpi-build: Update document reference

Update the reference for QEMU's ACPI PCI hotplug device interface. Also,
use the possessive form in the comment.

Signed-off-by: Gustavo Romero <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: a54949570908e1908e5c248a6593c76ef7fbc8b1
      
https://github.com/qemu/qemu/commit/a54949570908e1908e5c248a6593c76ef7fbc8b1
  Author: Gustavo Romero <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  hw/i386/acpi-build: Fix typo and grammar in comment

Fix typo and verb conjugation in a comment about FADT initialization.

Signed-off-by: Gustavo Romero <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: cd0e1cd2460ecfbc1e8a23c9d0e5a93119a5e7c5
      
https://github.com/qemu/qemu/commit/cd0e1cd2460ecfbc1e8a23c9d0e5a93119a5e7c5
  Author: Gustavo Romero <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/acpi/acpi-pci-hotplug-stub.c
    M hw/acpi/ich9.c
    M hw/acpi/pcihp.c
    M hw/acpi/piix4.c
    M include/hw/acpi/pcihp.h

  Log Message:
  -----------
  hw/acpi/pcihp: Fix typo in function name

Fix typo in QEMU's ACPI PCI hotplug API function name that checks
whether a given bus is hotplug-capable.

Signed-off-by: Gustavo Romero <[email protected]>
Reviewed-by: Eric Auger <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: dc495b919f1d9d98e01aea22f545fdc7de07e28d
      
https://github.com/qemu/qemu/commit/dc495b919f1d9d98e01aea22f545fdc7de07e28d
  Author: Gustavo Romero <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M hw/isa/lpc_ich9.c

  Log Message:
  -----------
  hw/isa/ich9: Remove stray empty comment

Remove stray empty comment in IRQ routing function.

Signed-off-by: Gustavo Romero <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 90896f94f1a690717f06e19034b6cc9580354ab3
      
https://github.com/qemu/qemu/commit/90896f94f1a690717f06e19034b6cc9580354ab3
  Author: Stefan Hajnoczi <[email protected]>
  Date:   2025-05-07 (Wed, 07 May 2025)

  Changed paths:
    M MAINTAINERS
    A accel/stubs/hvf-stub.c
    M accel/stubs/meson.build
    M bsd-user/main.c
    M hw/acpi/acpi-pci-hotplug-stub.c
    M hw/acpi/generic_event_device.c
    M hw/acpi/ich9.c
    M hw/acpi/pcihp.c
    M hw/acpi/piix4.c
    M hw/core/machine.c
    M hw/hyperv/hyperv.c
    M hw/hyperv/meson.build
    M hw/hyperv/syndbg.c
    M hw/hyperv/vmbus.c
    M hw/i386/acpi-build.c
    M hw/i386/acpi-build.h
    M hw/isa/lpc_ich9.c
    M hw/pci/pcie_port.c
    M include/hw/acpi/pcihp.h
    M include/hw/core/cpu.h
    M include/hw/hyperv/hyperv.h
    M include/system/hvf.h
    M include/system/hvf_int.h
    M qom/object.c
    M qom/qom-qmp-cmds.c
    M target/alpha/machine.c
    M target/hppa/machine.c
    M target/i386/hvf/hvf.c
    M target/microblaze/machine.c
    M target/openrisc/machine.c

  Log Message:
  -----------
  Merge tag 'hw-misc-20250506' of https://github.com/philmd/qemu into staging

Misc HW patches

- Allow using plugins on BSD user-emulation
- Inline VMSTATE_CPU() macro
- Fix headear includes for HVF x86
- Build hw/hyperv/ files once
- Various typo fixed

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmgaHeEACgkQ4+MsLN6t
# wN73Mg/9EekMFfqOApjf0EdEnNlXsnGHdNOF6enhzAPRGVGr1fVWbAT/sASBvGfz
# seeiSLsM68OJtqpaTr9GyoZK9R7s4p9517r0NTr3va0oxD7LP+tdmSPhkZ5IO8fc
# IZNFp4uB0wlDiiRpO8lXOlAleVkckjPVcO8BD/Vzo41kRGyC0jNqPDB260YAYn+o
# m4iz5i2drPFxWv8E7suoinbpRGF4lx2sVYrz3GxfmTR/0ejCG7FTiGgRjFUYUuAs
# tkqvI36oz0a7DUQ6RDTIp8YZLMIDBkPsa/Oy/5gduBNdAfA9rjDWGZI/J2JREzeu
# hUpUGp3of1a8D56DDE5uAIdZ66+4wQTsxZMkN5/ZMRfc45NmargFkjpIe2mrDU8b
# ZeGv/sYIh82BG565aKsRFZJXsrJXXAz5Bc6nzrilLTGu6+d/nApRQE6Nfuf90qaH
# QV6ilqRPtEcRX7orZLxSL26yk9hl7j6IqN4FFXbv2Vb1JLFBoWR/rtcBovn+U6qj
# fIEW9sL+NgF/6wAi327mARCZNIYkSDX2Sgszx9vv+qab//McxDhRuMcMLoPJVWcs
# bl5aOCQjGkMRdzvbIoo43JKI6Bo4rFIi6pjb2A8IUfGKj5NSxyghmpOQF4bAAb4C
# 2rVhdQCvr0jxfz1w8fCjcuVcHxT4iRt9PiqG7cAjfXE4v6ODWLc=
# =AIC1
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 06 May 2025 10:34:09 EDT
# gpg:                using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <[email protected]>" 
[full]
# Primary key fingerprint: FAAB E75E 1291 7221 DCFD  6BB2 E3E3 2C2C DEAD C0DE

* tag 'hw-misc-20250506' of https://github.com/philmd/qemu: (22 commits)
  hw/isa/ich9: Remove stray empty comment
  hw/acpi/pcihp: Fix typo in function name
  hw/i386/acpi-build: Fix typo and grammar in comment
  hw/i386/acpi-build: Update document reference
  hw/i386/acpi-build: Fix build_append_notfication_callback typo
  hw/acpi/ged: Fix wrong identation
  hw/pci/pcie_port: Fix pcie_slot_is_hotpluggbale_bus typo
  hw/core/machine: Fix indentation
  hw/hyperv/hyperv: common compilation unit
  hw/hyperv/hyperv_testdev: common compilation unit
  hw/hyperv/balloon: common balloon compilation units
  hw/hyperv/syndbg: common compilation unit
  hw/hyperv/vmbus: common compilation unit
  hw/hyperv/hyperv.h: header cleanup
  hw/hyperv/hv-balloon-stub: common compilation unit
  system/hvf: Expose hvf_enabled() to common code
  system/hvf: Avoid including 'cpu.h'
  target/i386/hvf: Include missing 'exec/target_page.h' header
  target/migration: Inline VMSTATE_CPU()
  qom/object: Fix typo in comment
  ...

Signed-off-by: Stefan Hajnoczi <[email protected]>


  Commit: 96c509e0b217e6366aa693bcb2f589f723ffbc8b
      
https://github.com/qemu/qemu/commit/96c509e0b217e6366aa693bcb2f589f723ffbc8b
  Author: Stefan Hajnoczi <[email protected]>
  Date:   2025-05-07 (Wed, 07 May 2025)

  Changed paths:
    M MAINTAINERS
    M accel/hvf/hvf-all.c
    M docs/devel/codebase.rst
    M docs/system/qemu-block-drivers.rst.inc
    M hw/arm/npcm8xx.c
    M hw/arm/npcm8xx_boards.c
    M hw/arm/virt-acpi-build.c
    M hw/arm/virt.c
    M hw/gpio/imx_gpio.c
    M hw/pci-host/designware.c
    M include/hw/arm/npcm8xx.h
    M include/hw/arm/virt.h
    M target/arm/arm-qmp-cmds.c
    M target/arm/hvf/hvf.c
    M target/arm/kvm.c
    M target/arm/kvm_arm.h
    M target/arm/ptw.c
    M target/arm/tcg/translate.c
    M tests/functional/meson.build
    A tests/functional/test_aarch64_imx8mp_evk.py

  Log Message:
  -----------
  Merge tag 'pull-target-arm-20250506' of 
https://git.linaro.org/people/pmaydell/qemu-arm into staging

target-arm queue:
 * hw/arm/npcm8xx_boards: Correct valid_cpu_types setting of NPCM8XX SoC
 * arm/hvf: fix crashes when using gdbstub
 * target/arm/ptw: fix arm_cpu_get_phys_page_attrs_debug
 * hw/arm/virt: Remove deprecated old versions of 'virt' machine
 * tests/functional: Add test for imx8mp-evk board with USDHC coverage
 * hw/arm: Attach PSPI module to NPCM8XX SoC
 * target/arm: Don't assert() for ISB/SB inside IT block
 * docs: Don't define duplicate label in qemu-block-drivers.rst.inc
 * target/arm/kvm: Drop support for kernels without KVM_ARM_PREFERRED_TARGET
 * hw/pci-host/designware: Fix viewport configuration
 * hw/gpio/imx_gpio: Fix interpretation of GDIR polarity

# -----BEGIN PGP SIGNATURE-----
#
# iQJNBAABCAA3FiEE4aXFk81BneKOgxXPPCUl7RQ2DN4FAmgaH50ZHHBldGVyLm1h
# eWRlbGxAbGluYXJvLm9yZwAKCRA8JSXtFDYM3l4ED/0QOV6oev1ILqA1INBjY7Ct
# VrjzjsynFnUkyU0MLKyuK+mBRYmeR1OWtIRTkbgIsRA23XqV4de/BhGsVCGrRA0r
# VS/hV2kTQM0GYU2dCr9LpOC3jX0dDzft5uW9GjW/sW9infAwXRwKhGgkIV6q/G5V
# Y6cMN7UXrOnomF8Spk5VvK8HH9OHV/fuSlWenk9X1bXPpVQ3jymqZ1eRSDXOzDdM
# uP6lVdI3oHCpRPeXKa1EA8cfQa9M/y9XSzDIrF8OTZKVcIzbX8/XR+y74e4UMIvK
# DD3nAuAXcezy3286Pu7OfciRBJfq3eFHZVXOKfQWFI3MStPmexKqoHm8JtQxXJOT
# uJdaugItLahlPtNk41nAydYzYimK/MBKCWAfTqecEhZ9Cd64jeOPM9zXwRkXwyuu
# n9XQUhm5Ll22urd4q2M8cCxKBP2OoaEBFS4Hn9uDpVDcWpRMLe2DP7ywzZjdLU9b
# jLSlana5+wpMuwIasXlNzWgT37RA+xlDE2Snaz7K/Z3JV/XNZAZD6WXV72zTzhFs
# EI10edHI+JXXlbT1Ev/yVv4cN9h/Kr3hyoOKat2ySaomW26H27wNPuvPTto4rCYU
# 6VQJmJvwPSBWELI5eRbcN269K0ar1UXUsvDsy97cq35me3gFvfAZFksLpnPWKef6
# pvwwPuxLWQXs+chepuQyXA==
# =c21p
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 06 May 2025 10:41:33 EDT
# gpg:                using RSA key E1A5C593CD419DE28E8315CF3C2525ED14360CDE
# gpg:                issuer "[email protected]"
# gpg: Good signature from "Peter Maydell <[email protected]>" [full]
# gpg:                 aka "Peter Maydell <[email protected]>" [full]
# gpg:                 aka "Peter Maydell <[email protected]>" 
[full]
# gpg:                 aka "Peter Maydell <[email protected]>" [unknown]
# Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83  15CF 3C25 25ED 1436 0CDE

* tag 'pull-target-arm-20250506' of 
https://git.linaro.org/people/pmaydell/qemu-arm: (32 commits)
  hw/arm/virt: Remove deprecated virt-4.0 machine
  hw/arm/virt: Remove deprecated virt-3.1 machine
  hw/arm/virt: Remove deprecated virt-3.0 machine
  hw/arm/virt: Update comment about Multiprocessor Affinity Register
  hw/gpio/imx_gpio: Fix interpretation of GDIR polarity
  hw/pci-host/designware: Fix viewport configuration
  hw/pci-host/designware: Remove unused include
  target/arm/kvm: Drop support for kernels without KVM_ARM_PREFERRED_TARGET
  docs: Don't define duplicate label in qemu-block-drivers.rst.inc
  target/arm: Don't assert() for ISB/SB inside IT block
  hw/arm: Attach PSPI module to NPCM8XX SoC
  tests/functional: Add test for imx8mp-evk board with USDHC coverage
  hw/arm/virt: Remove VirtMachineClass::no_highmem_ecam field
  hw/arm/virt: Remove deprecated virt-2.12 machine
  hw/arm/virt: Remove VirtMachineClass::smbios_old_sys_ver field
  hw/arm/virt: Remove deprecated virt-2.11 machine
  hw/arm/virt: Remove deprecated virt-2.10 machine
  hw/arm/virt: Remove deprecated virt-2.9 machine
  hw/arm/virt: Remove VirtMachineClass::claim_edge_triggered_timers field
  hw/arm/virt: Remove deprecated virt-2.8 machine
  ...

Signed-off-by: Stefan Hajnoczi <[email protected]>


  Commit: 9097c8461b98524646ee4c50b5aaae847f5a65b8
      
https://github.com/qemu/qemu/commit/9097c8461b98524646ee4c50b5aaae847f5a65b8
  Author: Stefan Hajnoczi <[email protected]>
  Date:   2025-05-07 (Wed, 07 May 2025)

  Changed paths:
    M .gitlab-ci.d/buildtest-template.yml
    M .gitlab-ci.d/buildtest.yml
    M .gitlab-ci.d/container-cross.yml
    M .gitlab-ci.d/crossbuilds.yml
    M MAINTAINERS
    M backends/meson.build
    M block/file-posix.c
    A configs/meson/emscripten.txt
    M configure
    M docs/about/build-platforms.rst
    M docs/devel/build-system.rst
    M docs/devel/rust.rst
    M include/glib-compat.h
    M include/qemu/cacheflush.h
    M include/qemu/osdep.h
    A include/system/os-wasm.h
    M meson.build
    M meson_options.txt
    A os-wasm.c
    M qemu-options.hx
    M rust/Cargo.lock
    M rust/Cargo.toml
    M rust/clippy.toml
    M rust/hw/char/pl011/src/device.rs
    M rust/hw/char/pl011/src/device_class.rs
    M rust/hw/char/pl011/src/lib.rs
    M rust/hw/timer/hpet/src/fw_cfg.rs
    M rust/hw/timer/hpet/src/hpet.rs
    M rust/hw/timer/hpet/src/lib.rs
    M rust/qemu-api-macros/src/lib.rs
    M rust/qemu-api/Cargo.toml
    M rust/qemu-api/build.rs
    M rust/qemu-api/meson.build
    R rust/qemu-api/src/c_str.rs
    M rust/qemu-api/src/cell.rs
    M rust/qemu-api/src/chardev.rs
    M rust/qemu-api/src/irq.rs
    M rust/qemu-api/src/lib.rs
    M rust/qemu-api/src/memory.rs
    R rust/qemu-api/src/offset_of.rs
    M rust/qemu-api/src/qdev.rs
    M rust/qemu-api/src/qom.rs
    M rust/qemu-api/src/timer.rs
    M rust/qemu-api/src/vmstate.rs
    M rust/qemu-api/src/zeroable.rs
    M rust/qemu-api/tests/tests.rs
    M rust/qemu-api/tests/vmstate_tests.rs
    M scripts/ci/setup/ubuntu/ubuntu-2204-aarch64.yaml
    M scripts/ci/setup/ubuntu/ubuntu-2204-s390x.yaml
    M scripts/meson-buildoptions.sh
    M subprojects/bilge-impl-0.2-rs.wrap
    R subprojects/packagefiles/bilge-impl-1.63.0.patch
    M system/memory.c
    M system/physmem.c
    M system/vl.c
    M target/arm/helper.c
    M target/i386/cpu.c
    M target/i386/emulate/x86_decode.c
    M target/i386/emulate/x86_emu.c
    M target/ppc/cpu_init.c
    M target/s390x/cpu_models.c
    M tests/docker/dockerfiles/debian-amd64-cross.docker
    M tests/docker/dockerfiles/debian-arm64-cross.docker
    M tests/docker/dockerfiles/debian-armhf-cross.docker
    M tests/docker/dockerfiles/debian-i686-cross.docker
    M tests/docker/dockerfiles/debian-mips64el-cross.docker
    M tests/docker/dockerfiles/debian-mipsel-cross.docker
    M tests/docker/dockerfiles/debian-ppc64el-cross.docker
    M tests/docker/dockerfiles/debian-s390x-cross.docker
    M tests/docker/dockerfiles/debian.docker
    A tests/docker/dockerfiles/emsdk-wasm32-cross.docker
    M tests/docker/dockerfiles/ubuntu2204.docker
    M tests/lcitool/mappings.yml
    M tests/lcitool/refresh
    M util/cacheflush.c
    A util/coroutine-wasm.c
    M util/meson.build
    M util/oslib-posix.c

  Log Message:
  -----------
  Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging

* ci: enable RISC-V cross jobs
* rust: bump minimum supported version to 1.77
* rust: enable uninlined_format_args lint
* initial Emscripten support
* small fixes

# -----BEGIN PGP SIGNATURE-----
#
# iQFIBAABCgAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmgaFq8UHHBib256aW5p
# QHJlZGhhdC5jb20ACgkQv/vSX3jHroOxAAf/YPKw5KAoE5SwUqJ0oSOMHrU0w4jc
# A2Qiw1uziA6kDmUMUXwWR7Qbd8V7jtihGrgTrIPopeavgWWQeNsBHjN4WxHRI7aq
# +429rjzFo9V9tSfgp6UcLQSk/9kC4ygEwPnesHpKd27fS6z9Wg4AQkj1iFipR179
# wC3fqwOqqWZSjfUd7wjo7McFYZgL5j/cxmFXePh8+fdT+6PUKdG9nRW86KUPDZ+A
# 8HxcuOW7GZd+LhnYUhi7vlLFo/RgVsGQWj0Q4BDJvUkKa13t9UUCGff7uQP2AC3v
# ny0gWDcmbWY1L/QXyNzhgd44X4LAjCmpnonlYnrdZizEmhv3aByd+fANgw==
# =uIJK
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 06 May 2025 10:03:27 EDT
# gpg:                using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
# gpg:                issuer "[email protected]"
# gpg: Good signature from "Paolo Bonzini <[email protected]>" [full]
# gpg:                 aka "Paolo Bonzini <[email protected]>" [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

* tag 'for-upstream' of https://gitlab.com/bonzini/qemu: (30 commits)
  gitlab: Enable CI for wasm build
  tests: Add Dockerfile containing dependencies for Emscripten build
  meson: Add wasm build in build scripts
  util: Add coroutine backend for emscripten
  util: exclude mmap-alloc.c from compilation target on Emscripten
  Disable options unsupported on Emscripten
  include/qemu/osdep.h: Add Emscripten-specific OS dependencies
  block: Fix type conflict of the copy_file_range stub
  block: Add including of ioctl header for Emscripten build
  util/cacheflush.c: Update cache flushing mechanism for Emscripten
  include/glib-compat.h: Poison g_list_sort and g_slist_sort
  target/s390x: Fix type conflict of GLib function pointers
  target/ppc: Fix type conflict of GLib function pointers
  target/i386/cpu.c: Fix type conflict of GLib function pointers
  target/arm/helper.c: Fix type conflict of GLib function pointers
  docs: build-system: fix typo
  ci: run RISC-V cross jobs by default
  rust: clippy: enable uninlined_format_args lint
  target/i386/emulate: fix target_ulong format strings
  docs: rust: update for newer minimum supported version
  ...

Signed-off-by: Stefan Hajnoczi <[email protected]>


Compare: https://github.com/qemu/qemu/compare/c5e2c4042e3c...9097c8461b98

To unsubscribe from these emails, change your notification settings at 
https://github.com/qemu/qemu/settings/notifications

Reply via email to