[PULL 00/18] Miscellaneous changes for 2025-10-28

Paolo Bonzini posted 18 patches 2 weeks, 2 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251028173430.2180057-1-pbonzini@redhat.com
Maintainers: Magnus Kulke <magnus.kulke@linux.microsoft.com>, Wei Liu <wei.liu@kernel.org>, "Gonglei (Arei)" <arei.gonglei@huawei.com>, Zhenwei Pi <pizhenwei@bytedance.com>, "Michael S. Tsirkin" <mst@redhat.com>, Stefano Garzarella <sgarzare@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Amit Shah <amit@kernel.org>, Stefan Berger <stefanb@linux.vnet.ibm.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Peter Maydell <peter.maydell@linaro.org>, Igor Mitsyanko <i.mitsyanko@gmail.com>, "Clément Chigot" <chigot@adacore.com>, Frederic Konrad <konrad.frederic@yahoo.fr>, Alberto Garcia <berto@igalia.com>, Thomas Huth <huth@tuxfamily.org>, Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Jason Herne <jjherne@linux.ibm.com>, Yoshinori Sato <yoshinori.sato@nifty.com>, Magnus Damm <magnus.damm@gmail.com>, Nicholas Piggin <npiggin@gmail.com>, Harsh Prateek Bora <harshpb@linux.ibm.com>, "Collin L. Walling" <walling@linux.ibm.com>, Stefano Stabellini <sstabellini@kernel.org>, Anthony PERARD <anthony@xenproject.org>, Paul Durrant <paul@xen.org>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Alistair Francis <alistair@alistair23.me>, "Daniel P. Berrangé" <berrange@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, Richard Henderson <richard.henderson@linaro.org>, Helge Deller <deller@gmx.de>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Corey Minyard <minyard@acm.org>, Paul Burton <paulburton@kernel.org>, Aleksandar Rikalo <arikalo@gmail.com>, Aurelien Jarno <aurelien@aurel32.net>, Palmer Dabbelt <palmer@dabbelt.com>, Weiwei Li <liwei1518@gmail.com>, Daniel Henrique Barboza <dbarboza@ventanamicro.com>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>, Fam Zheng <fam@euphon.net>, Samuel Thibault <samuel.thibault@ens-lyon.org>, Michael Rolnik <mrolnik@gmail.com>, Antony Pavlov <antonynpavlov@gmail.com>, Joel Stanley <joel@jms.id.au>, Vijai Kumar K <vijai@behindbytes.com>, Samuel Tardieu <sam@rfc1149.net>, Gustavo Romero <gustavo.romero@linaro.org>, Raphael Norwitz <raphael@enfabrica.net>, Stefan Hajnoczi <stefanha@redhat.com>, Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>, Dmitry Osipenko <dmitry.osipenko@collabora.com>, Markus Armbruster <armbru@redhat.com>, Fabiano Rosas <farosas@suse.de>, "Dr. David Alan Gilbert" <dave@treblig.org>, Zhang Chen <zhangckid@gmail.com>, Li Zhijian <lizhijian@fujitsu.com>, Jason Wang <jasowang@redhat.com>, Manos Pitsidianakis <manos.pitsidianakis@linaro.org>, John Snow <jsnow@redhat.com>, Cleber Rosa <crosa@redhat.com>, Cameron Esfahani <dirty@apple.com>, Roman Bolshakov <rbolshakov@ddn.com>, Phil Dennis-Jordan <phil@philjordan.eu>, Marcelo Tosatti <mtosatti@redhat.com>, Reinoud Zandijk <reinoud@netbsd.org>, Sunil Muthuswamy <sunilmut@microsoft.com>, Max Filippov <jcmvbkbc@gmail.com>, Lukas Straub <lukasstraub2@web.de>
There is a newer version of this series
docs/about/deprecated.rst            |  14 +++
meson.build                          |   1 +
chardev/chardev-internal.h           |  12 +--
include/chardev/char-fe.h            |  67 ++++++------
include/chardev/char.h               |   4 +-
include/hw/char/avr_usart.h          |   2 +-
include/hw/char/bcm2835_aux.h        |   2 +-
include/hw/char/cadence_uart.h       |   2 +-
include/hw/char/cmsdk-apb-uart.h     |   2 +-
include/hw/char/digic-uart.h         |   2 +-
include/hw/char/escc.h               |   2 +-
include/hw/char/goldfish_tty.h       |   2 +-
include/hw/char/ibex_uart.h          |   2 +-
include/hw/char/imx_serial.h         |   2 +-
include/hw/char/max78000_uart.h      |   2 +-
include/hw/char/nrf51_uart.h         |   2 +-
include/hw/char/parallel.h           |   2 +-
include/hw/char/pl011.h              |   2 +-
include/hw/char/renesas_sci.h        |   2 +-
include/hw/char/riscv_htif.h         |   2 +-
include/hw/char/serial.h             |   2 +-
include/hw/char/shakti_uart.h        |   2 +-
include/hw/char/sifive_uart.h        |   2 +-
include/hw/char/stm32f2xx_usart.h    |   2 +-
include/hw/char/stm32l4x5_usart.h    |   2 +-
include/hw/misc/ivshmem-flat.h       |   2 +-
include/hw/qdev-properties-system.h  |   2 +-
include/hw/qdev-properties.h         |   2 +-
include/hw/virtio/vhost-user-base.h  |   2 +-
include/hw/virtio/vhost-user-blk.h   |   2 +-
include/hw/virtio/vhost-user-fs.h    |   2 +-
include/hw/virtio/vhost-user-scmi.h  |   2 +-
include/hw/virtio/vhost-user-vsock.h |   2 +-
include/hw/virtio/vhost-user.h       |   8 +-
include/hw/virtio/virtio-gpu.h       |   2 +-
include/hw/virtio/virtio-scsi.h      |   2 +-
include/qobject/qobject.h            |   5 +-
include/system/qtest.h               |   4 +-
include/system/vhost-user-backend.h  |   2 +-
monitor/monitor-internal.h           |   2 +-
target/i386/kvm/kvm_i386.h           |   1 +
accel/mshv/mshv-all.c                |   3 +
backends/cryptodev-vhost-user.c      |   2 +-
backends/rng-egd.c                   |   2 +-
backends/tpm/tpm_emulator.c          |   4 +-
chardev/char-fe.c                    | 144 ++++++++++++-------------
chardev/char-hub.c                   |  18 ++--
chardev/char-mux.c                   |  40 +++----
chardev/char.c                       |  44 ++++----
gdbstub/system.c                     |   2 +-
hw/arm/strongarm.c                   |   2 +-
hw/char/debugcon.c                   |   2 +-
hw/char/exynos4210_uart.c            |   2 +-
hw/char/grlib_apbuart.c              |   2 +-
hw/char/ipoctal232.c                 |   2 +-
hw/char/mcf_uart.c                   |   2 +-
hw/char/sclpconsole-lm.c             |   2 +-
hw/char/sclpconsole.c                |   2 +-
hw/char/sh_serial.c                  |   2 +-
hw/char/spapr_vty.c                  |   2 +-
hw/char/terminal3270.c               |   2 +-
hw/char/virtio-console.c             |   2 +-
hw/char/xen_console.c                |   2 +-
hw/char/xilinx_uartlite.c            |   2 +-
hw/core/qdev-properties-system.c     |  23 ++--
hw/core/qdev-properties.c            |   9 +-
hw/hppa/machine.c                    |   2 +-
hw/i386/isapc.c                      |  55 ++++------
hw/i386/x86-common.c                 |  11 ++
hw/ipmi/ipmi_bmc_extern.c            |   2 +-
hw/mips/boston.c                     |   2 +-
hw/mips/malta.c                      |   2 +-
hw/misc/ivshmem-pci.c                |   2 +-
hw/ppc/spapr_rtas.c                  |   2 +-
hw/riscv/riscv_hart.c                |   2 +-
hw/scsi/esp.c                        |   6 +-
hw/scsi/scsi-bus.c                   |  13 +--
hw/usb/ccid-card-passthru.c          |   2 +-
hw/usb/dev-serial.c                  |   2 +-
hw/usb/redirect.c                    |   2 +-
hw/virtio/vhost-stub.c               |   2 +-
hw/virtio/vhost-user.c               |  20 ++--
net/colo-compare.c                   |  10 +-
net/filter-mirror.c                  |   4 +-
net/passt.c                          |   2 +-
net/slirp.c                          |   2 +-
net/vhost-user.c                     |   2 +-
semihosting/console.c                |   6 +-
system/qtest.c                       |  20 ++--
target/hppa/sys_helper.c             |  12 +--
target/i386/hvf/x86hvf.c             |   1 +
target/i386/kvm/kvm.c                |   7 ++
target/i386/mshv/mshv-cpu.c          |   4 +
target/i386/nvmm/nvmm-all.c          |   1 +
target/i386/whpx/whpx-all.c          |   1 +
target/riscv/kvm/kvm-cpu.c           |  10 +-
target/xtensa/xtensa-semi.c          |  10 +-
tests/qtest/am53c974-test.c          |  40 +++++++
tests/qtest/vhost-user-test.c        |  16 +--
tests/unit/test-char.c               | 202 +++++++++++++++++------------------
tests/unit/test-yank.c               |  12 +--
util/rcu.c                           |  81 +++++++++-----
roms/opensbi                         |   2 +-
rust/Cargo.toml                      |  10 --
rust/bindings/src/lib.rs             |   4 +-
rust/bql/src/bindings.rs             |   4 +-
rust/chardev/src/bindings.rs         |  10 +-
rust/chardev/src/chardev.rs          |  26 ++---
rust/hw/char/pl011/src/bindings.rs   |   2 +-
rust/hw/char/pl011/src/device.rs     |  12 +--
rust/hw/core/src/bindings.rs         |   4 +-
rust/hw/core/src/qdev.rs             |   2 +-
rust/hw/timer/hpet/src/device.rs     |   2 +-
rust/migration/src/bindings.rs       |   2 +-
rust/migration/src/vmstate.rs        |   3 +-
rust/qemu-macros/src/lib.rs          |  23 +++-
rust/qemu-macros/src/tests.rs        |  15 ++-
rust/qom/src/bindings.rs             |   2 +-
rust/qom/src/qom.rs                  |   3 +-
rust/system/src/bindings.rs          |   4 +-
rust/util/src/bindings.rs            |   2 +-
scripts/meson-buildoptions.py        |  51 +++++----
122 files changed, 679 insertions(+), 573 deletions(-)
[PULL 00/18] Miscellaneous changes for 2025-10-28
Posted by Paolo Bonzini 2 weeks, 2 days ago
The following changes since commit 36076d24f04ea9dc3357c0fbe7bb14917375819c:

  Merge tag 'next-pr-pull-request' of https://gitlab.com/berrange/qemu into staging (2025-10-25 10:42:55 +0200)

are available in the Git repository at:

  https://gitlab.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to d77cb7d68dacb696900ca83d03e4d50735e45e5f:

  rust: migration: allow passing ParentField<> to vmstate_of! (2025-10-28 14:50:44 +0100)

----------------------------------------------------------------
* char: rename CharBackend->CharFrontend
* esp: fix esp_cdb_ready() FIFO wraparound limit calculation
* isapc: warn rather than reject modern x86 CPU models
* mshv: fix Coverity issues
* qdev: Change PropertyInfo method print() to return malloc'ed string
* qobject: make refcount atomic
* rcu: make synchronize_rcu() more efficient
* rust: cleanup glib_sys bindings
* rust: Convert bit value to u8 within #[property]
* rust: only leave leaf crates as workspace members
* scripts: clean up meson-buildoptions.py
* scsi: make refcount atomic
* target/i386: Init SMM cpu address space for hotplugged CPUs

----------------------------------------------------------------
Akihiko Odaki (1):
      rcu: Unify force quiescent state

Marc-André Lureau (1):
      char: rename CharBackend->CharFrontend

Mark Cave-Ayland (4):
      esp.c: fix esp_cdb_ready() FIFO wraparound limit calculation
      qtest/am53c974-test: add additional test for cmdfifo overflow
      hw/i386/isapc.c: warn rather than reject modern x86 CPU models
      docs/about/deprecated.rst: document isapc deprecation for modern x86 CPU models

Markus Armbruster (1):
      qdev: Change PropertyInfo method print() to return malloc'ed string

Martin Kletzander (1):
      rust: remove useless glib_sys bindings

Paolo Bonzini (8):
      scripts: clean up meson-buildoptions.py
      rust: only leave leaf crates as workspace members
      qobject: make refcount atomic
      accel/mshv: initialize thread name
      accel/mshv: use return value of handle_pio_str_read
      scsi: make SCSIRequest refcount atomic
      target/i386: clear CPU_INTERRUPT_SIPI for all accelerators
      rust: migration: allow passing ParentField<> to vmstate_of!

Xiaoyao Li (1):
      i386/kvm/cpu: Init SMM cpu address space for hotplugged CPUs

Zhao Liu (1):
      rust/qemu-macros: Convert bit value to u8 within #[property]

 docs/about/deprecated.rst            |  14 +++
 meson.build                          |   1 +
 chardev/chardev-internal.h           |  12 +--
 include/chardev/char-fe.h            |  67 ++++++------
 include/chardev/char.h               |   4 +-
 include/hw/char/avr_usart.h          |   2 +-
 include/hw/char/bcm2835_aux.h        |   2 +-
 include/hw/char/cadence_uart.h       |   2 +-
 include/hw/char/cmsdk-apb-uart.h     |   2 +-
 include/hw/char/digic-uart.h         |   2 +-
 include/hw/char/escc.h               |   2 +-
 include/hw/char/goldfish_tty.h       |   2 +-
 include/hw/char/ibex_uart.h          |   2 +-
 include/hw/char/imx_serial.h         |   2 +-
 include/hw/char/max78000_uart.h      |   2 +-
 include/hw/char/nrf51_uart.h         |   2 +-
 include/hw/char/parallel.h           |   2 +-
 include/hw/char/pl011.h              |   2 +-
 include/hw/char/renesas_sci.h        |   2 +-
 include/hw/char/riscv_htif.h         |   2 +-
 include/hw/char/serial.h             |   2 +-
 include/hw/char/shakti_uart.h        |   2 +-
 include/hw/char/sifive_uart.h        |   2 +-
 include/hw/char/stm32f2xx_usart.h    |   2 +-
 include/hw/char/stm32l4x5_usart.h    |   2 +-
 include/hw/misc/ivshmem-flat.h       |   2 +-
 include/hw/qdev-properties-system.h  |   2 +-
 include/hw/qdev-properties.h         |   2 +-
 include/hw/virtio/vhost-user-base.h  |   2 +-
 include/hw/virtio/vhost-user-blk.h   |   2 +-
 include/hw/virtio/vhost-user-fs.h    |   2 +-
 include/hw/virtio/vhost-user-scmi.h  |   2 +-
 include/hw/virtio/vhost-user-vsock.h |   2 +-
 include/hw/virtio/vhost-user.h       |   8 +-
 include/hw/virtio/virtio-gpu.h       |   2 +-
 include/hw/virtio/virtio-scsi.h      |   2 +-
 include/qobject/qobject.h            |   5 +-
 include/system/qtest.h               |   4 +-
 include/system/vhost-user-backend.h  |   2 +-
 monitor/monitor-internal.h           |   2 +-
 target/i386/kvm/kvm_i386.h           |   1 +
 accel/mshv/mshv-all.c                |   3 +
 backends/cryptodev-vhost-user.c      |   2 +-
 backends/rng-egd.c                   |   2 +-
 backends/tpm/tpm_emulator.c          |   4 +-
 chardev/char-fe.c                    | 144 ++++++++++++-------------
 chardev/char-hub.c                   |  18 ++--
 chardev/char-mux.c                   |  40 +++----
 chardev/char.c                       |  44 ++++----
 gdbstub/system.c                     |   2 +-
 hw/arm/strongarm.c                   |   2 +-
 hw/char/debugcon.c                   |   2 +-
 hw/char/exynos4210_uart.c            |   2 +-
 hw/char/grlib_apbuart.c              |   2 +-
 hw/char/ipoctal232.c                 |   2 +-
 hw/char/mcf_uart.c                   |   2 +-
 hw/char/sclpconsole-lm.c             |   2 +-
 hw/char/sclpconsole.c                |   2 +-
 hw/char/sh_serial.c                  |   2 +-
 hw/char/spapr_vty.c                  |   2 +-
 hw/char/terminal3270.c               |   2 +-
 hw/char/virtio-console.c             |   2 +-
 hw/char/xen_console.c                |   2 +-
 hw/char/xilinx_uartlite.c            |   2 +-
 hw/core/qdev-properties-system.c     |  23 ++--
 hw/core/qdev-properties.c            |   9 +-
 hw/hppa/machine.c                    |   2 +-
 hw/i386/isapc.c                      |  55 ++++------
 hw/i386/x86-common.c                 |  11 ++
 hw/ipmi/ipmi_bmc_extern.c            |   2 +-
 hw/mips/boston.c                     |   2 +-
 hw/mips/malta.c                      |   2 +-
 hw/misc/ivshmem-pci.c                |   2 +-
 hw/ppc/spapr_rtas.c                  |   2 +-
 hw/riscv/riscv_hart.c                |   2 +-
 hw/scsi/esp.c                        |   6 +-
 hw/scsi/scsi-bus.c                   |  13 +--
 hw/usb/ccid-card-passthru.c          |   2 +-
 hw/usb/dev-serial.c                  |   2 +-
 hw/usb/redirect.c                    |   2 +-
 hw/virtio/vhost-stub.c               |   2 +-
 hw/virtio/vhost-user.c               |  20 ++--
 net/colo-compare.c                   |  10 +-
 net/filter-mirror.c                  |   4 +-
 net/passt.c                          |   2 +-
 net/slirp.c                          |   2 +-
 net/vhost-user.c                     |   2 +-
 semihosting/console.c                |   6 +-
 system/qtest.c                       |  20 ++--
 target/hppa/sys_helper.c             |  12 +--
 target/i386/hvf/x86hvf.c             |   1 +
 target/i386/kvm/kvm.c                |   7 ++
 target/i386/mshv/mshv-cpu.c          |   4 +
 target/i386/nvmm/nvmm-all.c          |   1 +
 target/i386/whpx/whpx-all.c          |   1 +
 target/riscv/kvm/kvm-cpu.c           |  10 +-
 target/xtensa/xtensa-semi.c          |  10 +-
 tests/qtest/am53c974-test.c          |  40 +++++++
 tests/qtest/vhost-user-test.c        |  16 +--
 tests/unit/test-char.c               | 202 +++++++++++++++++------------------
 tests/unit/test-yank.c               |  12 +--
 util/rcu.c                           |  81 +++++++++-----
 roms/opensbi                         |   2 +-
 rust/Cargo.toml                      |  10 --
 rust/bindings/src/lib.rs             |   4 +-
 rust/bql/src/bindings.rs             |   4 +-
 rust/chardev/src/bindings.rs         |  10 +-
 rust/chardev/src/chardev.rs          |  26 ++---
 rust/hw/char/pl011/src/bindings.rs   |   2 +-
 rust/hw/char/pl011/src/device.rs     |  12 +--
 rust/hw/core/src/bindings.rs         |   4 +-
 rust/hw/core/src/qdev.rs             |   2 +-
 rust/hw/timer/hpet/src/device.rs     |   2 +-
 rust/migration/src/bindings.rs       |   2 +-
 rust/migration/src/vmstate.rs        |   3 +-
 rust/qemu-macros/src/lib.rs          |  23 +++-
 rust/qemu-macros/src/tests.rs        |  15 ++-
 rust/qom/src/bindings.rs             |   2 +-
 rust/qom/src/qom.rs                  |   3 +-
 rust/system/src/bindings.rs          |   4 +-
 rust/util/src/bindings.rs            |   2 +-
 scripts/meson-buildoptions.py        |  51 +++++----
 122 files changed, 679 insertions(+), 573 deletions(-)
-- 
2.51.1