Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 71260a012013c249f3ddd2738fad0b43dfb8e055
      
https://github.com/qemu/qemu/commit/71260a012013c249f3ddd2738fad0b43dfb8e055
  Author: Vladimir Sementsov-Ogievskiy <[email protected]>
  Date:   2025-11-04 (Tue, 04 Nov 2025)

  Changed paths:
    M scripts/checkpatch.pl

  Log Message:
  -----------
  scripts/checkpatch.pl: remove bogus patch prefix warning

Remove the 'patch prefix exists, appears to be a -p0 patch' warning
entirely as it is fundamentally flawed and can only produce false
positives.

Sometimes I create test files with names 'a' and 'b', and then get
surprised seeing this warning. It was not easy to understand where it
comes from.

How it works:
1. It extracts prefixes (a/, b/) from standard diff output
2. Checks if files/directories with these names exist in the project
   root
3. Warns if they exist, claiming it's a '-p0 patch' issue

This logic is wrong because:
- Standard diff/patch tools always use a/ and b/ prefixes by default
- The existence of files named 'a' or 'b' in the working directory is
  completely unrelated to patch format
- The working directory state may not correspond to the patch content
  (different commits, branches, etc.)
- In QEMU project, there are no single-letter files/directories in root,
  so this check can only generate false positives

The correct way to detect -p0 patches would be to analyze the path
format within the patch itself (e.g., absolute paths or paths without
prefixes), not check filesystem state.

So, let's finally drop it.

Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Link: 
https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 56dbf087a8a2cec7e3aeb19defed2a19efc85faa
      
https://github.com/qemu/qemu/commit/56dbf087a8a2cec7e3aeb19defed2a19efc85faa
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-11-04 (Tue, 04 Nov 2025)

  Changed paths:
    M rust/hw/timer/hpet/src/device.rs
    M rust/hw/timer/hpet/src/fw_cfg.rs
    M rust/util/src/error.rs

  Log Message:
  -----------
  rust/util: add ensure macro

The macro is similar to anyhow::ensure but uses QEMU's variation
on anyhow::Error.  It can be used to easily check a condition
and format an error message.

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


  Commit: 0830ec94059b239b3f67527b58e52fa7cd4a5439
      
https://github.com/qemu/qemu/commit/0830ec94059b239b3f67527b58e52fa7cd4a5439
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-11-04 (Tue, 04 Nov 2025)

  Changed paths:
    M rust/util/src/error.rs

  Log Message:
  -----------
  rust/util: use anyhow's native chaining capabilities

This simplifies conversions, making it possible to convert any error
into a QEMU util::Error with ".into()" (and therefore with "?").

The cost is having a separate constructor for when the error is a simple
string, but that is made easier by the ensure! macro.  If necessary,
another macro similar to "anyhow!" can be returned, but for now there
is no need for that.

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


  Commit: 113a7f5bf3b0bea56e8961c63fe7e6abec32f53d
      
https://github.com/qemu/qemu/commit/113a7f5bf3b0bea56e8961c63fe7e6abec32f53d
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-11-04 (Tue, 04 Nov 2025)

  Changed paths:
    M rust/util/src/error.rs

  Log Message:
  -----------
  rust/util: replace Error::err_or_unit/err_or_else with Error::with_errp

Introduce a simpler function that hides the creation of the Error**.

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


  Commit: 8abea41ecd9fe5614f39226c04600b177eb94b52
      
https://github.com/qemu/qemu/commit/8abea41ecd9fe5614f39226c04600b177eb94b52
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-11-04 (Tue, 04 Nov 2025)

  Changed paths:
    M rust/hw/char/pl011/src/device.rs
    M rust/hw/core/src/sysbus.rs
    M rust/util/src/error.rs
    M rust/util/src/lib.rs

  Log Message:
  -----------
  rust: pull error_fatal out of SysbusDeviceMethods::sysbus_realize

Return a Result<()> from the method, and "unwrap" it into error_fatal
in the caller.

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


  Commit: 02d6b8cfd30b2da0a58a67206e9e48119b815731
      
https://github.com/qemu/qemu/commit/02d6b8cfd30b2da0a58a67206e9e48119b815731
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-11-04 (Tue, 04 Nov 2025)

  Changed paths:
    M rust/chardev/meson.build
    M rust/util/meson.build

  Log Message:
  -----------
  rust: do not add qemuutil to Rust crates

This fails due to https://github.com/mesonbuild/meson/pull/15076.
The config-host.h file from the qemuutil dependency ends up on the
rustc command line for targets that do not use structured sources.

It will be reverted once Meson 1.9.2 is released.

Reported-by: Marc-AndrĂ© Lureau <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: ac561a3050aa642571735332e22d96334be083cf
      
https://github.com/qemu/qemu/commit/ac561a3050aa642571735332e22d96334be083cf
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-11-04 (Tue, 04 Nov 2025)

  Changed paths:
    M rust/migration/src/vmstate.rs

  Log Message:
  -----------
  rust: migration: allow nested offset_of

Nested offset_of was stabilized in Rust 1.82.  Since the minimum
supported version for QEMU is 1.83, allow nested field accesses
in vmstate_of!

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


  Commit: fdeeb448458f0ed808a62314b57974ab16d3592e
      
https://github.com/qemu/qemu/commit/fdeeb448458f0ed808a62314b57974ab16d3592e
  Author: Paolo Bonzini <[email protected]>
  Date:   2025-11-04 (Tue, 04 Nov 2025)

  Changed paths:
    M .gitlab-ci.d/buildtest.yml
    M docs/about/build-platforms.rst
    M scripts/ci/setup/ubuntu/ubuntu-2404-aarch64.yaml
    M scripts/ci/setup/ubuntu/ubuntu-2404-s390x.yaml
    M tests/docker/dockerfiles/ubuntu2204.docker
    M tests/lcitool/mappings.yml
    M tests/lcitool/refresh

  Log Message:
  -----------
  rust: add back to Ubuntu 22.04 jobs

Ubuntu is now including updated versions of Rust (up to 1.85) for
its LTS releases.  Adjust the CI containers and re-add --enable-rust
to the Ubuntu jobs.

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


  Commit: 917ac07f9aef579b9538a81d45f45850aba42906
      
https://github.com/qemu/qemu/commit/917ac07f9aef579b9538a81d45f45850aba42906
  Author: Richard Henderson <[email protected]>
  Date:   2025-11-05 (Wed, 05 Nov 2025)

  Changed paths:
    M .gitlab-ci.d/buildtest.yml
    M docs/about/build-platforms.rst
    M rust/chardev/meson.build
    M rust/hw/char/pl011/src/device.rs
    M rust/hw/core/src/sysbus.rs
    M rust/hw/timer/hpet/src/device.rs
    M rust/hw/timer/hpet/src/fw_cfg.rs
    M rust/migration/src/vmstate.rs
    M rust/util/meson.build
    M rust/util/src/error.rs
    M rust/util/src/lib.rs
    M scripts/checkpatch.pl
    M scripts/ci/setup/ubuntu/ubuntu-2404-aarch64.yaml
    M scripts/ci/setup/ubuntu/ubuntu-2404-s390x.yaml
    M tests/docker/dockerfiles/ubuntu2204.docker
    M tests/lcitool/mappings.yml
    M tests/lcitool/refresh

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

* rust: cleanup Error, add &error_fatal bindings
* rust: do not add qemuutil to Rust crates
* rust: migration: allow nested offset_of
* rust: add back to Ubuntu 22.04 jobs
* checkpatch: remove bogus patch prefix warning

# -----BEGIN PGP SIGNATURE-----
#
# iQFIBAABCgAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmkKKfgUHHBib256aW5p
# QHJlZGhhdC5jb20ACgkQv/vSX3jHroPIjAf/YrgwlyfL7Uocrga95I4+bVTluEI9
# Fi7Bf5jpKuS4AyeZvyp56S3pTPKdsOb1QUEj95b99DvwkQnDp6JlV4fgOWTZdyCv
# S0okaNNRG+kGVwrd+Ie4lvTt/ljNyVPPE3EiVAjrJ6Uy/0wKWwd/2hNuJgfpOgJH
# DlUkVB+tlzRcZVvgq35jNxiGZPZYmQnv2lwuDspyIg4Tt8dcJt0DbrwDeiN2oPKC
# 4wxfd21ui9RVyKKjHzFL7p0i/Ap8WgwKhZMqe+Ab5Zz93cE0FU1Jl3SSS/fEPJSu
# cAy5csQZWfpODzwduwsWYnUYBzw5FPTSZ31aWJqJCdBw8OBBgflOQ7Qhaw==
# =vdV1
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 04 Nov 2025 05:29:44 PM CET
# gpg:                using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
# gpg:                issuer "[email protected]"
# gpg: Good signature from "Paolo Bonzini <[email protected]>" [unknown]
# gpg:                 aka "Paolo Bonzini <[email protected]>" [unknown]
# gpg: WARNING: The key's User ID is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# 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:
  rust: add back to Ubuntu 22.04 jobs
  rust: migration: allow nested offset_of
  rust: do not add qemuutil to Rust crates
  rust: pull error_fatal out of SysbusDeviceMethods::sysbus_realize
  rust/util: replace Error::err_or_unit/err_or_else with Error::with_errp
  rust/util: use anyhow's native chaining capabilities
  rust/util: add ensure macro
  scripts/checkpatch.pl: remove bogus patch prefix warning

Signed-off-by: Richard Henderson <[email protected]>


Compare: https://github.com/qemu/qemu/compare/deed5c8e9380...917ac07f9aef

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

Reply via email to