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 +++++++++----- 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(-)