History log of /openbmc/qemu/rust/qemu-api/src/ (Results 1 – 25 of 148)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
e452053016-Jul-2025 Stefan Hajnoczi <stefanha@redhat.com>

Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging

virtio,pci,pc: features, fixes, tests

SPCR acpi table can now be disabled
vhost-vdpa can now report hashing

Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging

virtio,pci,pc: features, fixes, tests

SPCR acpi table can now be disabled
vhost-vdpa can now report hashing capability to guest
PPTT acpi table now tells guest vCPUs are identical
vost-user-blk now shuts down faster
loongarch64 now supports bios-tables-test
intel_iommu now supports ATS
cxl now supports DCD Fabric Management Command Set
arm now supports acpi pci hotplug

fixes, cleanups

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

# -----BEGIN PGP SIGNATURE-----
#
# iQFDBAABCgAtFiEEXQn9CHHI+FuUyooNKB8NuNKNVGkFAmh1+7APHG1zdEByZWRo
# YXQuY29tAAoJECgfDbjSjVRpcZ8H/2udpCZ49vjPB8IwQAGdFTw2TWVdxUQFHexQ
# pOsCGyFBNAXqD1bmb8lwWyYVJ08WELyL6xWsQ5tfVPiXpKYYHPHl4rNr/SPoyNcv
# joY++tagudmOki2DU7nfJ+rPIIuigOTUHbv4TZciwcHle6f65s0iKXhR1sL0cj4i
# TS6iJlApSuJInrBBUxuxSUomXk79mFTNKRiXj1k58LRw6JOUEgYvtIW8i+mOUcTg
# h1dZphxEQr/oG+a2pM8GOVJ1AFaBPSfgEnRM4kTX9QuTIDCeMAKUBo/mwOk6PV7z
# ZhSrDPLrea27XKGL++EJm0fFJ/AsHF1dTks2+c0rDrSK+UV87Zc=
# =sktm
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 15 Jul 2025 02:56:48 EDT
# gpg: using RSA key 5D09FD0871C8F85B94CA8A0D281F0DB8D28D5469
# gpg: issuer "mst@redhat.com"
# gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>" [full]
# gpg: aka "Michael S. Tsirkin <mst@redhat.com>" [full]
# Primary key fingerprint: 0270 606B 6F3C DF3D 0B17 0970 C350 3912 AFBE 8E67
# Subkey fingerprint: 5D09 FD08 71C8 F85B 94CA 8A0D 281F 0DB8 D28D 5469

* tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu: (97 commits)
hw/cxl: mailbox-utils: 0x5605 - FMAPI Initiate DC Release
hw/cxl: mailbox-utils: 0x5604 - FMAPI Initiate DC Add
hw/cxl: Create helper function to create DC Event Records from extents
hw/cxl: mailbox-utils: 0x5603 - FMAPI Get DC Region Extent Lists
hw/cxl: mailbox-utils: 0x5602 - FMAPI Set DC Region Config
hw/mem: cxl_type3: Add DC Region bitmap lock
hw/cxl: Move definition for dynamic_capacity_uuid and enum for DC event types to header
hw/cxl: mailbox-utils: 0x5601 - FMAPI Get Host Region Config
hw/mem: cxl_type3: Add dsmas_flags to CXLDCRegion struct
hw/cxl: mailbox-utils: 0x5600 - FMAPI Get DCD Info
hw/cxl: fix DC extent capacity tracking
tests: virt: Update expected ACPI tables for virt test
hw/acpi/aml-build: Build a root node in the PPTT table
hw/acpi/aml-build: Set identical implementation flag for PPTT processor nodes
tests: virt: Allow changes to PPTT test table
qtest/bios-tables-test: Generate reference blob for DSDT.acpipcihp
qtest/bios-tables-test: Generate reference blob for DSDT.hpoffacpiindex
tests/qtest/bios-tables-test: Add aarch64 ACPI PCI hotplug test
tests/qtest/bios-tables-test: Prepare for addition of acpi pci hp tests
hw/arm/virt: Let virt support pci hotplug/unplug GED event
...

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

Conflicts:
net/vhost-vdpa.c
vhost_vdpa_set_steering_ebpf() was removed, resolve the context
conflict.

show more ...


/openbmc/qemu/.gitlab-ci.d/check-units.py
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/backends/confidential-guest-support.c
/openbmc/qemu/backends/igvm-cfg.c
/openbmc/qemu/backends/igvm.c
/openbmc/qemu/backends/igvm.h
/openbmc/qemu/backends/meson.build
/openbmc/qemu/common-user/plugin-api.c.inc
/openbmc/qemu/configs/targets/alpha-linux-user.mak
/openbmc/qemu/configs/targets/alpha-softmmu.mak
/openbmc/qemu/configs/targets/sparc64-linux-user.mak
/openbmc/qemu/configs/targets/sparc64-softmmu.mak
/openbmc/qemu/contrib/plugins/execlog.c
/openbmc/qemu/cpu-target.c
/openbmc/qemu/docs/devel/migration/main.rst
/openbmc/qemu/docs/devel/migration/postcopy.rst
/openbmc/qemu/docs/devel/migration/vfio.rst
/openbmc/qemu/docs/devel/testing/main.rst
/openbmc/qemu/docs/devel/tracing.rst
/openbmc/qemu/docs/interop/firmware.json
/openbmc/qemu/docs/system/arm/max78000.rst
/openbmc/qemu/docs/system/arm/virt.rst
/openbmc/qemu/docs/system/devices/cxl.rst
/openbmc/qemu/docs/system/devices/net.rst
/openbmc/qemu/docs/system/i386/amd-memory-encryption.rst
/openbmc/qemu/docs/system/igvm.rst
/openbmc/qemu/docs/system/images.rst
/openbmc/qemu/docs/system/index.rst
/openbmc/qemu/docs/system/introduction.rst
/openbmc/qemu/docs/system/keys.rst.inc
/openbmc/qemu/docs/system/linuxboot.rst
/openbmc/qemu/docs/system/mux-chardev.rst.inc
/openbmc/qemu/docs/system/target-arm.rst
/openbmc/qemu/docs/system/target-i386.rst
/openbmc/qemu/docs/system/virtio-net-failover.rst
/openbmc/qemu/fpu/softfloat-parts.c.inc
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/gdb-xml/alpha-core.xml
/openbmc/qemu/gdb-xml/sparc64-core.xml
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hw/acpi/acpi-pci-hotplug-stub.c
/openbmc/qemu/hw/acpi/aml-build.c
/openbmc/qemu/hw/acpi/bios-linker-loader.c
/openbmc/qemu/hw/acpi/cxl.c
/openbmc/qemu/hw/acpi/generic_event_device.c
/openbmc/qemu/hw/acpi/ich9.c
/openbmc/qemu/hw/acpi/pci-bridge.c
/openbmc/qemu/hw/acpi/pci.c
/openbmc/qemu/hw/acpi/pcihp.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/allwinner-r40.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/fsl-imx8mp.c
/openbmc/qemu/hw/arm/max78000_soc.c
/openbmc/qemu/hw/arm/max78000fthr.c
/openbmc/qemu/hw/arm/meson.build
/openbmc/qemu/hw/arm/npcm7xx.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/block/hd-geometry.c
/openbmc/qemu/hw/block/meson.build
/openbmc/qemu/hw/block/vhost-user-blk.c
/openbmc/qemu/hw/char/Kconfig
/openbmc/qemu/hw/char/max78000_uart.c
/openbmc/qemu/hw/char/meson.build
/openbmc/qemu/hw/char/riscv_htif.c
/openbmc/qemu/hw/core/cpu-system.c
/openbmc/qemu/hw/core/machine-qmp-cmds.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/core/sysbus.c
/openbmc/qemu/hw/cxl/cxl-events.c
/openbmc/qemu/hw/cxl/cxl-host-stubs.c
/openbmc/qemu/hw/cxl/cxl-host.c
/openbmc/qemu/hw/cxl/cxl-mailbox-utils.c
/openbmc/qemu/hw/display/artist.c
/openbmc/qemu/hw/display/ati.c
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/acpi-build.h
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/amd_iommu.h
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/intel_iommu_internal.h
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/i386/pc_sysfw.c
/openbmc/qemu/hw/intc/arm_gicv3_common.c
/openbmc/qemu/hw/intc/arm_gicv3_kvm.c
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/intc/loongarch_extioi.c
/openbmc/qemu/hw/intc/loongarch_extioi_common.c
/openbmc/qemu/hw/loongarch/virt-acpi-build.c
/openbmc/qemu/hw/mem/cxl_type3.c
/openbmc/qemu/hw/misc/Kconfig
/openbmc/qemu/hw/misc/max78000_aes.c
/openbmc/qemu/hw/misc/max78000_gcr.c
/openbmc/qemu/hw/misc/max78000_icc.c
/openbmc/qemu/hw/misc/max78000_trng.c
/openbmc/qemu/hw/misc/meson.build
/openbmc/qemu/hw/net/can/ctucan_core.c
/openbmc/qemu/hw/net/lan9118.c
/openbmc/qemu/hw/net/rtl8139.c
/openbmc/qemu/hw/net/vhost_net-stub.c
/openbmc/qemu/hw/net/vhost_net.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/net/vmxnet3.c
/openbmc/qemu/hw/pci-host/Kconfig
/openbmc/qemu/hw/pci-host/gpex-acpi.c
/openbmc/qemu/hw/pci-host/gt64120.c
/openbmc/qemu/hw/pci-host/pnv_phb3.c
/openbmc/qemu/hw/pci-host/pnv_phb4.c
/openbmc/qemu/hw/pci-host/ppce500.c
/openbmc/qemu/hw/pci-host/sh_pci.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/riscv/virt-acpi-build.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/s390x/s390-pci-inst.c
/openbmc/qemu/hw/s390x/s390-stattrib.c
/openbmc/qemu/hw/sensor/lsm303dlhc_mag.c
/openbmc/qemu/hw/smbios/smbios.c
/openbmc/qemu/hw/uefi/trace.h
/openbmc/qemu/hw/uefi/var-service-core.c
/openbmc/qemu/hw/uefi/var-service-policy.c
/openbmc/qemu/hw/uefi/var-service-utils.c
/openbmc/qemu/hw/uefi/var-service-vars.c
/openbmc/qemu/hw/usb/dev-hid.c
/openbmc/qemu/hw/vfio/migration-multifd.c
/openbmc/qemu/hw/vfio/migration-multifd.h
/openbmc/qemu/hw/vfio/migration.c
/openbmc/qemu/hw/virtio/meson.build
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-config-io.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/vmapple/virtio-blk.c
/openbmc/qemu/include/exec/memattrs.h
/openbmc/qemu/include/exec/tswap.h
/openbmc/qemu/include/gdbstub/helpers.h
/openbmc/qemu/include/hw/acpi/generic_event_device.h
/openbmc/qemu/include/hw/acpi/pci.h
/openbmc/qemu/include/hw/acpi/pcihp.h
/openbmc/qemu/include/hw/arm/max78000_soc.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/char/max78000_uart.h
/openbmc/qemu/include/hw/cxl/cxl.h
/openbmc/qemu/include/hw/cxl/cxl_device.h
/openbmc/qemu/include/hw/cxl/cxl_events.h
/openbmc/qemu/include/hw/cxl/cxl_host.h
/openbmc/qemu/include/hw/cxl/cxl_mailbox.h
/openbmc/qemu/include/hw/i386/x86.h
/openbmc/qemu/include/hw/intc/arm_gicv3_common.h
/openbmc/qemu/include/hw/intc/loongarch_extioi.h
/openbmc/qemu/include/hw/intc/loongarch_extioi_common.h
/openbmc/qemu/include/hw/misc/max78000_aes.h
/openbmc/qemu/include/hw/misc/max78000_gcr.h
/openbmc/qemu/include/hw/misc/max78000_icc.h
/openbmc/qemu/include/hw/misc/max78000_trng.h
/openbmc/qemu/include/hw/pci-host/gpex.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/hw/sysbus.h
/openbmc/qemu/include/hw/virtio/vhost-user-blk.h
/openbmc/qemu/include/hw/virtio/vhost.h
/openbmc/qemu/include/hw/virtio/virtio-net.h
/openbmc/qemu/include/hw/virtio/virtio.h
/openbmc/qemu/include/migration/misc.h
/openbmc/qemu/include/migration/register.h
/openbmc/qemu/include/net/net.h
/openbmc/qemu/include/net/tap.h
/openbmc/qemu/include/net/vhost-vdpa.h
/openbmc/qemu/include/net/vhost_net.h
/openbmc/qemu/include/qemu/bswap.h
/openbmc/qemu/include/qemu/target-info-impl.h
/openbmc/qemu/include/qemu/target-info-qapi.h
/openbmc/qemu/include/qemu/target-info.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/system/confidential-guest-support.h
/openbmc/qemu/include/system/igvm-cfg.h
/openbmc/qemu/include/system/memory.h
/openbmc/qemu/include/system/runstate.h
/openbmc/qemu/include/tcg/tcg.h
/openbmc/qemu/include/user/abitypes.h
/openbmc/qemu/linux-headers/asm-x86/kvm.h
/openbmc/qemu/linux-headers/linux/kvm.h
/openbmc/qemu/linux-user/fd-trans.h
/openbmc/qemu/linux-user/gen-vdso.c
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/meson.build
/openbmc/qemu/linux-user/mips/target_signal.h
/openbmc/qemu/linux-user/plugin-api.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/syscall_defs.h
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/migration/block-dirty-bitmap.c
/openbmc/qemu/migration/migration-hmp-cmds.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/multifd-device-state.c
/openbmc/qemu/migration/options.c
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/postcopy-ram.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/trace-events
/openbmc/qemu/net/af-xdp.c
/openbmc/qemu/net/clients.h
/openbmc/qemu/net/hub.c
/openbmc/qemu/net/meson.build
/openbmc/qemu/net/net.c
/openbmc/qemu/net/passt.c
/openbmc/qemu/net/stream.c
/openbmc/qemu/net/stream_data.c
/openbmc/qemu/net/stream_data.h
/openbmc/qemu/net/tap-win32.c
/openbmc/qemu/net/tap.c
/openbmc/qemu/net/vhost-user-stub.c
/openbmc/qemu/net/vhost-user.c
/openbmc/qemu/net/vhost-vdpa.c
/openbmc/qemu/pc-bios/s390-ccw.img
/openbmc/qemu/pc-bios/s390-ccw/Makefile
/openbmc/qemu/pc-bios/s390-ccw/menu.c
/openbmc/qemu/pc-bios/s390-ccw/netmain.c
/openbmc/qemu/pc-bios/s390-ccw/s390-ccw.h
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/net.json
/openbmc/qemu/qapi/qom.json
/openbmc/qemu/qemu-options.hx
bindings.rs
/openbmc/qemu/scripts/meson-buildoptions.sh
/openbmc/qemu/system/memory.c
/openbmc/qemu/system/qdev-monitor.c
/openbmc/qemu/system/qtest.c
/openbmc/qemu/system/runstate.c
/openbmc/qemu/target-info-stub.c
/openbmc/qemu/target-info.c
/openbmc/qemu/target/alpha/cpu.c
/openbmc/qemu/target/arm/arm-qmp-cmds.c
/openbmc/qemu/target/arm/cpregs-pmu.c
/openbmc/qemu/target/arm/cpregs.h
/openbmc/qemu/target/arm/cpu-sysregs.h.inc
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/kvm-stub.c
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/kvm_arm.h
/openbmc/qemu/target/arm/meson.build
/openbmc/qemu/target/arm/tcg-stubs.c
/openbmc/qemu/target/arm/tcg/cpregs-at.c
/openbmc/qemu/target/arm/tcg/cpu-v7m.c
/openbmc/qemu/target/arm/tcg/cpu32.c
/openbmc/qemu/target/arm/tcg/cpu64.c
/openbmc/qemu/target/arm/tcg/helper-a64.c
/openbmc/qemu/target/arm/tcg/helper.h
/openbmc/qemu/target/arm/tcg/meson.build
/openbmc/qemu/target/arm/tcg/vec_helper.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/host-cpu.c
/openbmc/qemu/target/i386/host-cpu.h
/openbmc/qemu/target/i386/hvf/hvf-cpu.c
/openbmc/qemu/target/i386/kvm/kvm-cpu.c
/openbmc/qemu/target/i386/kvm/kvm.c
/openbmc/qemu/target/i386/kvm/tdx-quote-generator.c
/openbmc/qemu/target/i386/kvm/tdx-stub.c
/openbmc/qemu/target/i386/kvm/tdx.c
/openbmc/qemu/target/i386/kvm/tdx.h
/openbmc/qemu/target/i386/kvm/vmsr_energy.c
/openbmc/qemu/target/i386/kvm/vmsr_energy.h
/openbmc/qemu/target/i386/meson.build
/openbmc/qemu/target/i386/nvmm/nvmm-all.c
/openbmc/qemu/target/i386/sev.c
/openbmc/qemu/target/i386/sev.h
/openbmc/qemu/target/i386/tcg/decode-new.c.inc
/openbmc/qemu/target/i386/tcg/system/excp_helper.c
/openbmc/qemu/target/i386/whpx/whpx-all.c
/openbmc/qemu/target/i386/xsave_helper.c
/openbmc/qemu/target/loongarch/loongarch-qmp-cmds.c
/openbmc/qemu/target/loongarch/tcg/csr_helper.c
/openbmc/qemu/target/loongarch/tcg/tlb_helper.c
/openbmc/qemu/target/mips/system/mips-qmp-cmds.c
/openbmc/qemu/target/ppc/mmu-hash64.h
/openbmc/qemu/target/riscv/vector_helper.c
/openbmc/qemu/target/s390x/cpu-system.c
/openbmc/qemu/target/s390x/helper.c
/openbmc/qemu/target/s390x/kvm/kvm.c
/openbmc/qemu/target/s390x/s390x-internal.h
/openbmc/qemu/target/s390x/tcg/mem_helper.c
/openbmc/qemu/target/sparc/cpu.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tests/data/acpi/aarch64/virt/DSDT
/openbmc/qemu/tests/data/acpi/aarch64/virt/DSDT.acpihmatvirt
/openbmc/qemu/tests/data/acpi/aarch64/virt/DSDT.acpipcihp
/openbmc/qemu/tests/data/acpi/aarch64/virt/DSDT.hpoffacpiindex
/openbmc/qemu/tests/data/acpi/aarch64/virt/DSDT.memhp
/openbmc/qemu/tests/data/acpi/aarch64/virt/DSDT.pxb
/openbmc/qemu/tests/data/acpi/aarch64/virt/DSDT.topology
/openbmc/qemu/tests/data/acpi/aarch64/virt/DSDT.viot
/openbmc/qemu/tests/data/acpi/aarch64/virt/PPTT
/openbmc/qemu/tests/data/acpi/aarch64/virt/PPTT.acpihmatvirt
/openbmc/qemu/tests/data/acpi/aarch64/virt/PPTT.topology
/openbmc/qemu/tests/data/acpi/loongarch64/virt/APIC
/openbmc/qemu/tests/data/acpi/loongarch64/virt/APIC.topology
/openbmc/qemu/tests/data/acpi/loongarch64/virt/DSDT
/openbmc/qemu/tests/data/acpi/loongarch64/virt/DSDT.memhp
/openbmc/qemu/tests/data/acpi/loongarch64/virt/DSDT.numamem
/openbmc/qemu/tests/data/acpi/loongarch64/virt/DSDT.topology
/openbmc/qemu/tests/data/acpi/loongarch64/virt/FACP
/openbmc/qemu/tests/data/acpi/loongarch64/virt/MCFG
/openbmc/qemu/tests/data/acpi/loongarch64/virt/PPTT
/openbmc/qemu/tests/data/acpi/loongarch64/virt/PPTT.topology
/openbmc/qemu/tests/data/acpi/loongarch64/virt/SLIT
/openbmc/qemu/tests/data/acpi/loongarch64/virt/SLIT.numamem
/openbmc/qemu/tests/data/acpi/loongarch64/virt/SPCR
/openbmc/qemu/tests/data/acpi/loongarch64/virt/SRAT
/openbmc/qemu/tests/data/acpi/loongarch64/virt/SRAT.memhp
/openbmc/qemu/tests/data/acpi/loongarch64/virt/SRAT.numamem
/openbmc/qemu/tests/data/acpi/loongarch64/virt/SRAT.topology
/openbmc/qemu/tests/data/acpi/rebuild-expected-aml.sh
/openbmc/qemu/tests/data/acpi/riscv64/virt/DSDT
/openbmc/qemu/tests/data/acpi/x86/microvm/DSDT.pcie
/openbmc/qemu/tests/functional/meson.build
/openbmc/qemu/tests/functional/test_arm_max78000fthr.py
/openbmc/qemu/tests/functional/test_ppc_bamboo.py
/openbmc/qemu/tests/functional/test_s390x_pxelinux.py
/openbmc/qemu/tests/functional/test_x86_cpu_model_versions.py
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/qtest/cxl-test.c
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/qtest/migration/migration-qmp.c
/openbmc/qemu/tests/tcg/multiarch/Makefile.target
/openbmc/qemu/tests/tcg/multiarch/fnmsub.c
/openbmc/qemu/tests/tcg/plugins/mem.c
/openbmc/qemu/tests/vm/freebsd
4bf06bcf14-Jul-2025 Michael S. Tsirkin <mst@redhat.com>

rust: bindings: allow any number of params

We are going to be adding more parameters, and this makes
rust unhappy:
Functions with lots of parameters are considered bad style and reduce
reada

rust: bindings: allow any number of params

We are going to be adding more parameters, and this makes
rust unhappy:
Functions with lots of parameters are considered bad style and reduce
readability (“what does the 5th parameter mean?”). Consider grouping
some parameters into a new type.

Specifically:

error: this function has too many arguments (8/7)
--> /builds/mstredhat/qemu/build/rust/qemu-api/rust-qemu-api-tests.p/structured/bindings.inc.rs:3840:5
|
3840 | / pub fn new_bitfield_1(
3841 | | secure: std::os::raw::c_uint,
3842 | | space: std::os::raw::c_uint,
3843 | | user: std::os::raw::c_uint,
... |
3848 | | address_type: std::os::raw::c_uint,
3849 | | ) -> __BindgenBitfieldUnit<[u8; 4usize]> {
| |____________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: `-D clippy::too-many-arguments` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::too_many_arguments)]`

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <e41344bd22248b0883752ef7a7c459090a3d9cfc.1752560127.git.mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...


/openbmc/qemu/.b4-config
/openbmc/qemu/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml
/openbmc/qemu/COPYING
/openbmc/qemu/COPYING.LIB
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/accel/accel-common.c
/openbmc/qemu/accel/accel-system.c
/openbmc/qemu/accel/dummy-cpus.c
/openbmc/qemu/accel/dummy-cpus.h
/openbmc/qemu/accel/hvf/hvf-accel-ops.c
/openbmc/qemu/accel/hvf/hvf-all.c
/openbmc/qemu/accel/hvf/trace-events
/openbmc/qemu/accel/hvf/trace.h
/openbmc/qemu/accel/kvm/kvm-accel-ops.c
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/qtest/qtest.c
/openbmc/qemu/accel/stubs/kvm-stub.c
/openbmc/qemu/accel/stubs/meson.build
/openbmc/qemu/accel/stubs/nvmm-stub.c
/openbmc/qemu/accel/stubs/whpx-stub.c
/openbmc/qemu/accel/tcg/internal-common.h
/openbmc/qemu/accel/tcg/monitor.c
/openbmc/qemu/accel/tcg/plugin-gen.c
/openbmc/qemu/accel/tcg/tcg-accel-ops-mttcg.c
/openbmc/qemu/accel/tcg/tcg-accel-ops-rr.c
/openbmc/qemu/accel/tcg/tcg-accel-ops.c
/openbmc/qemu/accel/tcg/tcg-all.c
/openbmc/qemu/accel/xen/xen-all.c
/openbmc/qemu/backends/iommufd.c
/openbmc/qemu/backends/trace-events
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/configs/devices/riscv64-softmmu/default.mak
/openbmc/qemu/contrib/elf2dmp/pdb.c
/openbmc/qemu/contrib/plugins/meson.build
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/devel/code-provenance.rst
/openbmc/qemu/docs/devel/index-process.rst
/openbmc/qemu/docs/devel/migration/CPR.rst
/openbmc/qemu/docs/devel/migration/main.rst
/openbmc/qemu/docs/devel/migration/postcopy.rst
/openbmc/qemu/docs/devel/migration/vfio.rst
/openbmc/qemu/docs/devel/submitting-a-patch.rst
/openbmc/qemu/docs/interop/index.rst
/openbmc/qemu/docs/interop/qed_spec.rst
/openbmc/qemu/docs/interop/vfio-user.rst
/openbmc/qemu/docs/spin/tcg-exclusive.promela
/openbmc/qemu/docs/system/arm/aspeed.rst
/openbmc/qemu/docs/system/arm/emulation.rst
/openbmc/qemu/docs/system/arm/max78000.rst
/openbmc/qemu/docs/system/arm/virt.rst
/openbmc/qemu/docs/system/device-emulation.rst
/openbmc/qemu/docs/system/devices/cxl.rst
/openbmc/qemu/docs/system/devices/vfio-user.rst
/openbmc/qemu/docs/system/riscv/xiangshan-kunminghu.rst
/openbmc/qemu/docs/system/target-arm.rst
/openbmc/qemu/docs/system/target-riscv.rst
/openbmc/qemu/fpu/softfloat-parts.c.inc
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/gdbstub/gdbstub.c
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hw/Kconfig
/openbmc/qemu/hw/acpi/aml-build.c
/openbmc/qemu/hw/acpi/cxl.c
/openbmc/qemu/hw/acpi/nvdimm.c
/openbmc/qemu/hw/acpi/pcihp.c
/openbmc/qemu/hw/acpi/vmgenid.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_eeprom.c
/openbmc/qemu/hw/arm/aspeed_eeprom.h
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/fsl-imx8mp.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/max78000_soc.c
/openbmc/qemu/hw/arm/max78000fthr.c
/openbmc/qemu/hw/arm/meson.build
/openbmc/qemu/hw/arm/mps2.c
/openbmc/qemu/hw/arm/sbsa-ref.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/block/vhost-user-blk.c
/openbmc/qemu/hw/char/Kconfig
/openbmc/qemu/hw/char/max78000_uart.c
/openbmc/qemu/hw/char/meson.build
/openbmc/qemu/hw/char/sifive_uart.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/cxl/cxl-host-stubs.c
/openbmc/qemu/hw/cxl/cxl-host.c
/openbmc/qemu/hw/display/virtio-gpu-virgl.c
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/amd_iommu.h
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/intc/arm_gic.c
/openbmc/qemu/hw/intc/arm_gic_common.c
/openbmc/qemu/hw/intc/arm_gicv3_common.c
/openbmc/qemu/hw/intc/arm_gicv3_kvm.c
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/intc/loongarch_extioi.c
/openbmc/qemu/hw/intc/loongarch_extioi_common.c
/openbmc/qemu/hw/intc/loongarch_extioi_kvm.c
/openbmc/qemu/hw/intc/loongarch_ipi.c
/openbmc/qemu/hw/intc/loongarch_ipi_kvm.c
/openbmc/qemu/hw/intc/loongarch_pch_msi.c
/openbmc/qemu/hw/intc/loongarch_pch_pic.c
/openbmc/qemu/hw/intc/loongarch_pic_kvm.c
/openbmc/qemu/hw/intc/loongson_ipi_common.c
/openbmc/qemu/hw/intc/meson.build
/openbmc/qemu/hw/intc/riscv_aclint.c
/openbmc/qemu/hw/intc/riscv_aplic.c
/openbmc/qemu/hw/intc/riscv_imsic.c
/openbmc/qemu/hw/loongarch/virt-acpi-build.c
/openbmc/qemu/hw/loongarch/virt.c
/openbmc/qemu/hw/meson.build
/openbmc/qemu/hw/misc/Kconfig
/openbmc/qemu/hw/misc/aspeed_scu.c
/openbmc/qemu/hw/misc/aspeed_sdmc.c
/openbmc/qemu/hw/misc/ivshmem-flat.c
/openbmc/qemu/hw/misc/max78000_aes.c
/openbmc/qemu/hw/misc/max78000_gcr.c
/openbmc/qemu/hw/misc/max78000_icc.c
/openbmc/qemu/hw/misc/max78000_trng.c
/openbmc/qemu/hw/misc/meson.build
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/net/vmxnet3.h
/openbmc/qemu/hw/nvme/ctrl.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/riscv/Kconfig
/openbmc/qemu/hw/riscv/meson.build
/openbmc/qemu/hw/riscv/riscv-iommu-bits.h
/openbmc/qemu/hw/riscv/riscv-iommu.c
/openbmc/qemu/hw/riscv/virt-acpi-build.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/riscv/xiangshan_kmh.c
/openbmc/qemu/hw/s390x/ccw-device.c
/openbmc/qemu/hw/s390x/event-facility.c
/openbmc/qemu/hw/s390x/meson.build
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/s390x/s390-stattrib.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/sclpcpi.c
/openbmc/qemu/hw/scsi/vmw_pvscsi.h
/openbmc/qemu/hw/vfio-user/Kconfig
/openbmc/qemu/hw/vfio-user/container.c
/openbmc/qemu/hw/vfio-user/container.h
/openbmc/qemu/hw/vfio-user/device.c
/openbmc/qemu/hw/vfio-user/device.h
/openbmc/qemu/hw/vfio-user/meson.build
/openbmc/qemu/hw/vfio-user/pci.c
/openbmc/qemu/hw/vfio-user/protocol.h
/openbmc/qemu/hw/vfio-user/proxy.c
/openbmc/qemu/hw/vfio-user/proxy.h
/openbmc/qemu/hw/vfio-user/trace-events
/openbmc/qemu/hw/vfio-user/trace.h
/openbmc/qemu/hw/vfio/Kconfig
/openbmc/qemu/hw/vfio/ap.c
/openbmc/qemu/hw/vfio/ccw.c
/openbmc/qemu/hw/vfio/container-base.c
/openbmc/qemu/hw/vfio/container.c
/openbmc/qemu/hw/vfio/cpr-iommufd.c
/openbmc/qemu/hw/vfio/cpr-legacy.c
/openbmc/qemu/hw/vfio/cpr.c
/openbmc/qemu/hw/vfio/device.c
/openbmc/qemu/hw/vfio/helpers.c
/openbmc/qemu/hw/vfio/iommufd-stubs.c
/openbmc/qemu/hw/vfio/iommufd.c
/openbmc/qemu/hw/vfio/meson.build
/openbmc/qemu/hw/vfio/migration-multifd.c
/openbmc/qemu/hw/vfio/migration-multifd.h
/openbmc/qemu/hw/vfio/migration.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/pci.h
/openbmc/qemu/hw/vfio/platform.c
/openbmc/qemu/hw/vfio/region.c
/openbmc/qemu/hw/vfio/trace-events
/openbmc/qemu/hw/vfio/trace.h
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-mem.c
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/gdbstub.h
/openbmc/qemu/include/hw/acpi/pcihp.h
/openbmc/qemu/include/hw/arm/aspeed.h
/openbmc/qemu/include/hw/arm/boot.h
/openbmc/qemu/include/hw/arm/max78000_soc.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/char/max78000_uart.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/cxl/cxl.h
/openbmc/qemu/include/hw/cxl/cxl_host.h
/openbmc/qemu/include/hw/i2c/aspeed_i2c.h
/openbmc/qemu/include/hw/intc/arm_gic.h
/openbmc/qemu/include/hw/intc/arm_gic_common.h
/openbmc/qemu/include/hw/intc/arm_gicv3_common.h
/openbmc/qemu/include/hw/intc/arm_gicv3_its_common.h
/openbmc/qemu/include/hw/intc/loongarch_extioi.h
/openbmc/qemu/include/hw/intc/loongarch_extioi_common.h
/openbmc/qemu/include/hw/intc/loongarch_ipi.h
/openbmc/qemu/include/hw/intc/loongarch_pch_pic.h
/openbmc/qemu/include/hw/intc/loongarch_pic_common.h
/openbmc/qemu/include/hw/intc/loongson_ipi_common.h
/openbmc/qemu/include/hw/misc/ivshmem-flat.h
/openbmc/qemu/include/hw/misc/max78000_aes.h
/openbmc/qemu/include/hw/misc/max78000_gcr.h
/openbmc/qemu/include/hw/misc/max78000_icc.h
/openbmc/qemu/include/hw/misc/max78000_trng.h
/openbmc/qemu/include/hw/pci/pci_bridge.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/hw/riscv/xiangshan_kmh.h
/openbmc/qemu/include/hw/s390x/event-facility.h
/openbmc/qemu/include/hw/s390x/s390-virtio-ccw.h
/openbmc/qemu/include/hw/timer/aspeed_timer.h
/openbmc/qemu/include/hw/vfio/vfio-container-base.h
/openbmc/qemu/include/hw/vfio/vfio-cpr.h
/openbmc/qemu/include/hw/vfio/vfio-device.h
/openbmc/qemu/include/hw/virtio/vhost-user-blk.h
/openbmc/qemu/include/hw/virtio/vhost.h
/openbmc/qemu/include/hw/virtio/virtio-net.h
/openbmc/qemu/include/libdecnumber/dconfig.h
/openbmc/qemu/include/libdecnumber/decContext.h
/openbmc/qemu/include/libdecnumber/decDPD.h
/openbmc/qemu/include/libdecnumber/decNumber.h
/openbmc/qemu/include/libdecnumber/decNumberLocal.h
/openbmc/qemu/include/libdecnumber/dpd/decimal128.h
/openbmc/qemu/include/libdecnumber/dpd/decimal128Local.h
/openbmc/qemu/include/libdecnumber/dpd/decimal32.h
/openbmc/qemu/include/libdecnumber/dpd/decimal64.h
/openbmc/qemu/include/migration/cpr.h
/openbmc/qemu/include/migration/misc.h
/openbmc/qemu/include/migration/register.h
/openbmc/qemu/include/net/net.h
/openbmc/qemu/include/qemu/accel.h
/openbmc/qemu/include/qemu/plugin.h
/openbmc/qemu/include/qemu/qemu-plugin.h
/openbmc/qemu/include/qemu/rcu.h
/openbmc/qemu/include/qemu/rcu_queue.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/semihosting/uaccess.h
/openbmc/qemu/include/standard-headers/asm-x86/setup_data.h
/openbmc/qemu/include/standard-headers/drm/drm_fourcc.h
/openbmc/qemu/include/standard-headers/linux/ethtool.h
/openbmc/qemu/include/standard-headers/linux/fuse.h
/openbmc/qemu/include/standard-headers/linux/input-event-codes.h
/openbmc/qemu/include/standard-headers/linux/pci_regs.h
/openbmc/qemu/include/standard-headers/linux/virtio_gpu.h
/openbmc/qemu/include/standard-headers/linux/virtio_pci.h
/openbmc/qemu/include/system/accel-ops.h
/openbmc/qemu/include/system/cpus.h
/openbmc/qemu/include/system/hvf.h
/openbmc/qemu/include/system/hvf_int.h
/openbmc/qemu/include/system/hw_accel.h
/openbmc/qemu/include/system/iommufd.h
/openbmc/qemu/include/system/kvm.h
/openbmc/qemu/include/system/memory.h
/openbmc/qemu/include/system/nvmm.h
/openbmc/qemu/include/system/ramblock.h
/openbmc/qemu/include/system/runstate.h
/openbmc/qemu/include/system/whpx.h
/openbmc/qemu/include/tcg/tcg-op-gvec-common.h
/openbmc/qemu/include/tcg/tcg.h
/openbmc/qemu/libdecnumber/decContext.c
/openbmc/qemu/libdecnumber/decNumber.c
/openbmc/qemu/libdecnumber/dpd/decimal128.c
/openbmc/qemu/libdecnumber/dpd/decimal32.c
/openbmc/qemu/libdecnumber/dpd/decimal64.c
/openbmc/qemu/linux-headers/asm-arm64/kvm.h
/openbmc/qemu/linux-headers/asm-x86/kvm.h
/openbmc/qemu/linux-headers/linux/bits.h
/openbmc/qemu/linux-headers/linux/kvm.h
/openbmc/qemu/linux-headers/linux/vhost.h
/openbmc/qemu/linux-user/aarch64/signal.c
/openbmc/qemu/linux-user/arm/cpu_loop.c
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/fd-trans.h
/openbmc/qemu/linux-user/gen-vdso.c
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/mips/target_signal.h
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/syscall_defs.h
/openbmc/qemu/meson.build
/openbmc/qemu/migration/block-dirty-bitmap.c
/openbmc/qemu/migration/cpr-transfer.c
/openbmc/qemu/migration/cpr.c
/openbmc/qemu/migration/migration-hmp-cmds.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/multifd-device-state.c
/openbmc/qemu/migration/options.c
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/postcopy-ram.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/trace-events
/openbmc/qemu/monitor/hmp-cmds-target.c
/openbmc/qemu/net/net.c
/openbmc/qemu/net/vhost-vdpa.c
/openbmc/qemu/pc-bios/s390-ccw.img
/openbmc/qemu/pc-bios/s390-ccw/Makefile
/openbmc/qemu/pc-bios/s390-ccw/menu.c
/openbmc/qemu/pc-bios/s390-ccw/netmain.c
/openbmc/qemu/pc-bios/s390-ccw/s390-ccw.h
/openbmc/qemu/plugins/api.c
/openbmc/qemu/plugins/core.c
/openbmc/qemu/plugins/meson.build
/openbmc/qemu/python/qemu/utils/__init__.py
/openbmc/qemu/python/qemu/utils/accel.py
/openbmc/qemu/qapi/machine.json
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/qom.json
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/vss-win32/install.cpp
/openbmc/qemu/rust/hw/char/pl011/src/device.rs
/openbmc/qemu/rust/hw/timer/hpet/src/device.rs
bindings.rs
/openbmc/qemu/scripts/device-crash-test
/openbmc/qemu/scripts/tracetool/__init__.py
/openbmc/qemu/scripts/tracetool/backend/ftrace.py
/openbmc/qemu/scripts/tracetool/backend/log.py
/openbmc/qemu/scripts/tracetool/backend/syslog.py
/openbmc/qemu/semihosting/meson.build
/openbmc/qemu/semihosting/uaccess.c
/openbmc/qemu/system/cpus.c
/openbmc/qemu/system/memory.c
/openbmc/qemu/system/meson.build
/openbmc/qemu/system/physmem.c
/openbmc/qemu/system/qdev-monitor.c
/openbmc/qemu/system/ram-block-attributes.c
/openbmc/qemu/system/runstate.c
/openbmc/qemu/system/trace-events
/openbmc/qemu/target/arm/cpregs-pmu.c
/openbmc/qemu/target/arm/cpregs.h
/openbmc/qemu/target/arm/cpu-features.h
/openbmc/qemu/target/arm/cpu-sysregs.h
/openbmc/qemu/target/arm/cpu-sysregs.h.inc
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/hvf/hvf.c
/openbmc/qemu/target/arm/hvf/trace-events
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/kvm-stub.c
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/kvm_arm.h
/openbmc/qemu/target/arm/machine.c
/openbmc/qemu/target/arm/meson.build
/openbmc/qemu/target/arm/ptw.c
/openbmc/qemu/target/arm/syndrome.h
/openbmc/qemu/target/arm/tcg-stubs.c
/openbmc/qemu/target/arm/tcg/cpregs-at.c
/openbmc/qemu/target/arm/tcg/cpu-v7m.c
/openbmc/qemu/target/arm/tcg/cpu32.c
/openbmc/qemu/target/arm/tcg/cpu64.c
/openbmc/qemu/target/arm/tcg/gengvec64.c
/openbmc/qemu/target/arm/tcg/helper-a64.c
/openbmc/qemu/target/arm/tcg/helper-sme.h
/openbmc/qemu/target/arm/tcg/helper-sve.h
/openbmc/qemu/target/arm/tcg/helper.h
/openbmc/qemu/target/arm/tcg/hflags.c
/openbmc/qemu/target/arm/tcg/m_helper.c
/openbmc/qemu/target/arm/tcg/meson.build
/openbmc/qemu/target/arm/tcg/mve_helper.c
/openbmc/qemu/target/arm/tcg/neon_helper.c
/openbmc/qemu/target/arm/tcg/sme.decode
/openbmc/qemu/target/arm/tcg/sme_helper.c
/openbmc/qemu/target/arm/tcg/sve.decode
/openbmc/qemu/target/arm/tcg/sve_helper.c
/openbmc/qemu/target/arm/tcg/sve_ldst_internal.h
/openbmc/qemu/target/arm/tcg/translate-a64.c
/openbmc/qemu/target/arm/tcg/translate-a64.h
/openbmc/qemu/target/arm/tcg/translate-neon.c
/openbmc/qemu/target/arm/tcg/translate-sme.c
/openbmc/qemu/target/arm/tcg/translate-sve.c
/openbmc/qemu/target/arm/tcg/translate.c
/openbmc/qemu/target/arm/tcg/translate.h
/openbmc/qemu/target/arm/tcg/vec_helper.c
/openbmc/qemu/target/arm/tcg/vec_internal.h
/openbmc/qemu/target/arm/tcg/vfp_helper.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/emulate/x86_emu.c
/openbmc/qemu/target/i386/emulate/x86_flags.c
/openbmc/qemu/target/i386/emulate/x86_flags.h
/openbmc/qemu/target/i386/hvf/hvf.c
/openbmc/qemu/target/i386/hvf/x86hvf.c
/openbmc/qemu/target/i386/kvm/kvm.c
/openbmc/qemu/target/i386/kvm/meson.build
/openbmc/qemu/target/i386/kvm/tdx-quote-generator.c
/openbmc/qemu/target/i386/kvm/tdx-quote-generator.h
/openbmc/qemu/target/i386/kvm/tdx-stub.c
/openbmc/qemu/target/i386/kvm/tdx.c
/openbmc/qemu/target/i386/kvm/tdx.h
/openbmc/qemu/target/i386/nvmm/nvmm-accel-ops.c
/openbmc/qemu/target/i386/nvmm/nvmm-all.c
/openbmc/qemu/target/i386/whpx/whpx-accel-ops.c
/openbmc/qemu/target/i386/whpx/whpx-accel-ops.h
/openbmc/qemu/target/i386/whpx/whpx-all.c
/openbmc/qemu/target/loongarch/README
/openbmc/qemu/target/loongarch/cpu.h
/openbmc/qemu/target/loongarch/kvm/kvm.c
/openbmc/qemu/target/loongarch/tcg/csr_helper.c
/openbmc/qemu/target/loongarch/tcg/insn_trans/trans_vec.c.inc
/openbmc/qemu/target/loongarch/tcg/tlb_helper.c
/openbmc/qemu/target/riscv/cpu-qom.h
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/cpu_bits.h
/openbmc/qemu/target/riscv/cpu_cfg_fields.h.inc
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/riscv/csr.c
/openbmc/qemu/target/riscv/fpu_helper.c
/openbmc/qemu/target/riscv/helper.h
/openbmc/qemu/target/riscv/insn_trans/trans_rvv.c.inc
/openbmc/qemu/target/riscv/internals.h
/openbmc/qemu/target/riscv/kvm/kvm-cpu.c
/openbmc/qemu/target/riscv/machine.c
/openbmc/qemu/target/riscv/op_helper.c
/openbmc/qemu/target/riscv/pmp.c
/openbmc/qemu/target/riscv/riscv-qmp-cmds.c
/openbmc/qemu/target/riscv/tcg/tcg-cpu.c
/openbmc/qemu/target/riscv/time_helper.c
/openbmc/qemu/target/riscv/time_helper.h
/openbmc/qemu/target/riscv/translate.c
/openbmc/qemu/target/riscv/vector_helper.c
/openbmc/qemu/target/s390x/cpu-system.c
/openbmc/qemu/target/s390x/cpu_features_def.h.inc
/openbmc/qemu/target/s390x/cpu_models_system.c
/openbmc/qemu/target/s390x/helper.c
/openbmc/qemu/target/s390x/kvm/kvm.c
/openbmc/qemu/target/s390x/s390x-internal.h
/openbmc/qemu/target/s390x/tcg/mem_helper.c
/openbmc/qemu/target/xtensa/core-dc232b/gdb-config.c.inc
/openbmc/qemu/target/xtensa/core-dc232b/xtensa-modules.c.inc
/openbmc/qemu/target/xtensa/core-fsf/xtensa-modules.c.inc
/openbmc/qemu/tcg/optimize.c
/openbmc/qemu/tcg/riscv/tcg-target.c.inc
/openbmc/qemu/tcg/tcg-op-gvec.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tests/data/acpi/aarch64/virt/APIC.its_off
/openbmc/qemu/tests/data/acpi/aarch64/virt/IORT.its_off
/openbmc/qemu/tests/data/acpi/loongarch64/virt/APIC
/openbmc/qemu/tests/data/acpi/loongarch64/virt/APIC.topology
/openbmc/qemu/tests/data/acpi/loongarch64/virt/DSDT
/openbmc/qemu/tests/data/acpi/loongarch64/virt/DSDT.memhp
/openbmc/qemu/tests/data/acpi/loongarch64/virt/DSDT.numamem
/openbmc/qemu/tests/data/acpi/loongarch64/virt/DSDT.topology
/openbmc/qemu/tests/data/acpi/loongarch64/virt/FACP
/openbmc/qemu/tests/data/acpi/loongarch64/virt/MCFG
/openbmc/qemu/tests/data/acpi/loongarch64/virt/PPTT
/openbmc/qemu/tests/data/acpi/loongarch64/virt/PPTT.topology
/openbmc/qemu/tests/data/acpi/loongarch64/virt/SLIT
/openbmc/qemu/tests/data/acpi/loongarch64/virt/SLIT.numamem
/openbmc/qemu/tests/data/acpi/loongarch64/virt/SPCR
/openbmc/qemu/tests/data/acpi/loongarch64/virt/SRAT
/openbmc/qemu/tests/data/acpi/loongarch64/virt/SRAT.memhp
/openbmc/qemu/tests/data/acpi/loongarch64/virt/SRAT.numamem
/openbmc/qemu/tests/data/acpi/loongarch64/virt/SRAT.topology
/openbmc/qemu/tests/data/acpi/rebuild-expected-aml.sh
/openbmc/qemu/tests/data/acpi/riscv64/virt/RHCT
/openbmc/qemu/tests/functional/aspeed.py
/openbmc/qemu/tests/functional/meson.build
/openbmc/qemu/tests/functional/qemu_test/testcase.py
/openbmc/qemu/tests/functional/test_aarch64_device_passthrough.py
/openbmc/qemu/tests/functional/test_aarch64_hotplug_pci.py
/openbmc/qemu/tests/functional/test_aarch64_imx8mp_evk.py
/openbmc/qemu/tests/functional/test_aarch64_sbsaref.py
/openbmc/qemu/tests/functional/test_aarch64_sbsaref_alpine.py
/openbmc/qemu/tests/functional/test_aarch64_sbsaref_freebsd.py
/openbmc/qemu/tests/functional/test_aarch64_smmu.py
/openbmc/qemu/tests/functional/test_aarch64_xen.py
/openbmc/qemu/tests/functional/test_arm_aspeed_catalina.py
/openbmc/qemu/tests/functional/test_arm_aspeed_gb200nvl_bmc.py
/openbmc/qemu/tests/functional/test_arm_max78000fthr.py
/openbmc/qemu/tests/functional/test_arm_realview.py
/openbmc/qemu/tests/functional/test_pc_cpu_hotplug_props.py
/openbmc/qemu/tests/functional/test_ppc_bamboo.py
/openbmc/qemu/tests/functional/test_s390x_pxelinux.py
/openbmc/qemu/tests/include/meson.build
/openbmc/qemu/tests/qtest/aspeed_scu-test.c
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/qtest/cxl-test.c
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/qtest/migration/cpr-tests.c
/openbmc/qemu/tests/qtest/migration/migration-qmp.c
/openbmc/qemu/tests/qtest/qmp-cmd-test.c
/openbmc/qemu/tests/qtest/vmgenid-test.c
/openbmc/qemu/tests/tcg/Makefile.target
/openbmc/qemu/tests/tcg/multiarch/Makefile.target
/openbmc/qemu/tests/tcg/multiarch/fnmsub.c
/openbmc/qemu/tests/tcg/plugins/meson.build
/openbmc/qemu/tests/tcg/plugins/patch.c
/openbmc/qemu/tests/tcg/riscv64/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/riscv64/test-mepc-masking.S
/openbmc/qemu/tests/tcg/x86_64/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/x86_64/system/patch-target.c
/openbmc/qemu/tests/tcg/x86_64/system/validate-patch.py
/openbmc/qemu/tests/vm/openbsd
/openbmc/qemu/trace/meson.build
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/ui/vnc.h
/openbmc/qemu/util/rcu.c
ed7f6da211-Jun-2025 Paolo Bonzini <pbonzini@redhat.com>

rust/qemu-api: log: implement io::Write

This makes it possible to lock the log file; it also makes log_mask_ln!
not allocate memory when logging a constant string.

Reviewed-by: Zhao Liu <zhao1.liu@

rust/qemu-api: log: implement io::Write

This makes it possible to lock the log file; it also makes log_mask_ln!
not allocate memory when logging a constant string.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

dab63b8a03-Jul-2025 Manos Pitsidianakis <manos.pitsidianakis@linaro.org>

rust/bindings: allow unnecessary_transmutes (1.88)

This is a new lint introduced in Rust 1.88. It does not affect
compilation when using a previous version or our MSRV, 1.77. But with
1.88 compilati

rust/bindings: allow unnecessary_transmutes (1.88)

This is a new lint introduced in Rust 1.88. It does not affect
compilation when using a previous version or our MSRV, 1.77. But with
1.88 compilation fails because we deny all warnings:

error: unnecessary transmute
--> rust/qemu-api/libqemu_api.rlib.p/structured/bindings.inc.rs:729:18
|
729 | unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 24u8) as u32) }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u32::cast_signed(self._bitfield_1.get(0usize, 24u8) as u32)`
|
= note: `-D unnecessary-transmutes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unnecessary_transmutes)]`

Allow this lint, which even though it does not exist in previous
versions, it works because we allow for `unknown_lints` in
rust/Cargo.toml.

Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Link: https://lore.kernel.org/r/20250703-rust_bindings_allow_unnecessary_transmutes-v1-1-692ca210d331@linaro.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/openbmc/qemu/.b4-config
/openbmc/qemu/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml
/openbmc/qemu/COPYING
/openbmc/qemu/COPYING.LIB
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/accel/accel-common.c
/openbmc/qemu/accel/accel-system.c
/openbmc/qemu/accel/dummy-cpus.c
/openbmc/qemu/accel/dummy-cpus.h
/openbmc/qemu/accel/hvf/hvf-accel-ops.c
/openbmc/qemu/accel/hvf/hvf-all.c
/openbmc/qemu/accel/hvf/trace-events
/openbmc/qemu/accel/hvf/trace.h
/openbmc/qemu/accel/kvm/kvm-accel-ops.c
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/qtest/qtest.c
/openbmc/qemu/accel/stubs/kvm-stub.c
/openbmc/qemu/accel/stubs/meson.build
/openbmc/qemu/accel/stubs/nvmm-stub.c
/openbmc/qemu/accel/stubs/whpx-stub.c
/openbmc/qemu/accel/tcg/internal-common.h
/openbmc/qemu/accel/tcg/monitor.c
/openbmc/qemu/accel/tcg/plugin-gen.c
/openbmc/qemu/accel/tcg/tcg-accel-ops-mttcg.c
/openbmc/qemu/accel/tcg/tcg-accel-ops-rr.c
/openbmc/qemu/accel/tcg/tcg-accel-ops.c
/openbmc/qemu/accel/tcg/tcg-all.c
/openbmc/qemu/accel/xen/xen-all.c
/openbmc/qemu/backends/iommufd.c
/openbmc/qemu/backends/trace-events
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/configs/devices/riscv64-softmmu/default.mak
/openbmc/qemu/contrib/elf2dmp/pdb.c
/openbmc/qemu/contrib/plugins/meson.build
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/devel/code-provenance.rst
/openbmc/qemu/docs/devel/index-process.rst
/openbmc/qemu/docs/devel/migration/CPR.rst
/openbmc/qemu/docs/devel/rust.rst
/openbmc/qemu/docs/devel/submitting-a-patch.rst
/openbmc/qemu/docs/interop/index.rst
/openbmc/qemu/docs/interop/qed_spec.rst
/openbmc/qemu/docs/interop/vfio-user.rst
/openbmc/qemu/docs/spin/tcg-exclusive.promela
/openbmc/qemu/docs/system/arm/aspeed.rst
/openbmc/qemu/docs/system/arm/emulation.rst
/openbmc/qemu/docs/system/device-emulation.rst
/openbmc/qemu/docs/system/devices/vfio-user.rst
/openbmc/qemu/docs/system/riscv/xiangshan-kunminghu.rst
/openbmc/qemu/docs/system/target-riscv.rst
/openbmc/qemu/gdbstub/gdbstub.c
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hw/Kconfig
/openbmc/qemu/hw/acpi/nvdimm.c
/openbmc/qemu/hw/acpi/pcihp.c
/openbmc/qemu/hw/acpi/vmgenid.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_eeprom.c
/openbmc/qemu/hw/arm/aspeed_eeprom.h
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/mps2.c
/openbmc/qemu/hw/arm/sbsa-ref.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/char/sifive_uart.c
/openbmc/qemu/hw/display/virtio-gpu-virgl.c
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/intc/arm_gic.c
/openbmc/qemu/hw/intc/arm_gic_common.c
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/intc/loongarch_extioi.c
/openbmc/qemu/hw/intc/loongarch_extioi_kvm.c
/openbmc/qemu/hw/intc/loongarch_ipi.c
/openbmc/qemu/hw/intc/loongarch_ipi_kvm.c
/openbmc/qemu/hw/intc/loongarch_pch_msi.c
/openbmc/qemu/hw/intc/loongarch_pch_pic.c
/openbmc/qemu/hw/intc/loongarch_pic_kvm.c
/openbmc/qemu/hw/intc/loongson_ipi_common.c
/openbmc/qemu/hw/intc/meson.build
/openbmc/qemu/hw/intc/riscv_aclint.c
/openbmc/qemu/hw/intc/riscv_aplic.c
/openbmc/qemu/hw/intc/riscv_imsic.c
/openbmc/qemu/hw/loongarch/virt.c
/openbmc/qemu/hw/meson.build
/openbmc/qemu/hw/misc/aspeed_scu.c
/openbmc/qemu/hw/misc/aspeed_sdmc.c
/openbmc/qemu/hw/misc/ivshmem-flat.c
/openbmc/qemu/hw/net/vmxnet3.h
/openbmc/qemu/hw/nvme/ctrl.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/riscv/Kconfig
/openbmc/qemu/hw/riscv/meson.build
/openbmc/qemu/hw/riscv/riscv-iommu-bits.h
/openbmc/qemu/hw/riscv/riscv-iommu.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/riscv/xiangshan_kmh.c
/openbmc/qemu/hw/s390x/ccw-device.c
/openbmc/qemu/hw/s390x/event-facility.c
/openbmc/qemu/hw/s390x/meson.build
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/sclpcpi.c
/openbmc/qemu/hw/scsi/vmw_pvscsi.h
/openbmc/qemu/hw/vfio-user/Kconfig
/openbmc/qemu/hw/vfio-user/container.c
/openbmc/qemu/hw/vfio-user/container.h
/openbmc/qemu/hw/vfio-user/device.c
/openbmc/qemu/hw/vfio-user/device.h
/openbmc/qemu/hw/vfio-user/meson.build
/openbmc/qemu/hw/vfio-user/pci.c
/openbmc/qemu/hw/vfio-user/protocol.h
/openbmc/qemu/hw/vfio-user/proxy.c
/openbmc/qemu/hw/vfio-user/proxy.h
/openbmc/qemu/hw/vfio-user/trace-events
/openbmc/qemu/hw/vfio-user/trace.h
/openbmc/qemu/hw/vfio/Kconfig
/openbmc/qemu/hw/vfio/ap.c
/openbmc/qemu/hw/vfio/ccw.c
/openbmc/qemu/hw/vfio/container-base.c
/openbmc/qemu/hw/vfio/container.c
/openbmc/qemu/hw/vfio/cpr-iommufd.c
/openbmc/qemu/hw/vfio/cpr-legacy.c
/openbmc/qemu/hw/vfio/cpr.c
/openbmc/qemu/hw/vfio/device.c
/openbmc/qemu/hw/vfio/helpers.c
/openbmc/qemu/hw/vfio/iommufd-stubs.c
/openbmc/qemu/hw/vfio/iommufd.c
/openbmc/qemu/hw/vfio/meson.build
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/pci.h
/openbmc/qemu/hw/vfio/platform.c
/openbmc/qemu/hw/vfio/region.c
/openbmc/qemu/hw/vfio/trace-events
/openbmc/qemu/hw/vfio/trace.h
/openbmc/qemu/hw/virtio/virtio-mem.c
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/gdbstub.h
/openbmc/qemu/include/hw/acpi/pcihp.h
/openbmc/qemu/include/hw/arm/aspeed.h
/openbmc/qemu/include/hw/arm/boot.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/i2c/aspeed_i2c.h
/openbmc/qemu/include/hw/intc/arm_gic.h
/openbmc/qemu/include/hw/intc/arm_gic_common.h
/openbmc/qemu/include/hw/intc/arm_gicv3_its_common.h
/openbmc/qemu/include/hw/intc/loongarch_extioi.h
/openbmc/qemu/include/hw/intc/loongarch_ipi.h
/openbmc/qemu/include/hw/intc/loongarch_pch_pic.h
/openbmc/qemu/include/hw/intc/loongarch_pic_common.h
/openbmc/qemu/include/hw/intc/loongson_ipi_common.h
/openbmc/qemu/include/hw/misc/ivshmem-flat.h
/openbmc/qemu/include/hw/pci/pci_bridge.h
/openbmc/qemu/include/hw/riscv/xiangshan_kmh.h
/openbmc/qemu/include/hw/s390x/event-facility.h
/openbmc/qemu/include/hw/s390x/s390-virtio-ccw.h
/openbmc/qemu/include/hw/timer/aspeed_timer.h
/openbmc/qemu/include/hw/vfio/vfio-container-base.h
/openbmc/qemu/include/hw/vfio/vfio-cpr.h
/openbmc/qemu/include/hw/vfio/vfio-device.h
/openbmc/qemu/include/libdecnumber/dconfig.h
/openbmc/qemu/include/libdecnumber/decContext.h
/openbmc/qemu/include/libdecnumber/decDPD.h
/openbmc/qemu/include/libdecnumber/decNumber.h
/openbmc/qemu/include/libdecnumber/decNumberLocal.h
/openbmc/qemu/include/libdecnumber/dpd/decimal128.h
/openbmc/qemu/include/libdecnumber/dpd/decimal128Local.h
/openbmc/qemu/include/libdecnumber/dpd/decimal32.h
/openbmc/qemu/include/libdecnumber/dpd/decimal64.h
/openbmc/qemu/include/migration/cpr.h
/openbmc/qemu/include/qemu/accel.h
/openbmc/qemu/include/qemu/plugin.h
/openbmc/qemu/include/qemu/qemu-plugin.h
/openbmc/qemu/include/qemu/rcu.h
/openbmc/qemu/include/qemu/rcu_queue.h
/openbmc/qemu/include/semihosting/uaccess.h
/openbmc/qemu/include/standard-headers/asm-x86/setup_data.h
/openbmc/qemu/include/standard-headers/drm/drm_fourcc.h
/openbmc/qemu/include/standard-headers/linux/ethtool.h
/openbmc/qemu/include/standard-headers/linux/fuse.h
/openbmc/qemu/include/standard-headers/linux/input-event-codes.h
/openbmc/qemu/include/standard-headers/linux/pci_regs.h
/openbmc/qemu/include/standard-headers/linux/virtio_gpu.h
/openbmc/qemu/include/standard-headers/linux/virtio_pci.h
/openbmc/qemu/include/system/accel-ops.h
/openbmc/qemu/include/system/cpus.h
/openbmc/qemu/include/system/hvf.h
/openbmc/qemu/include/system/hvf_int.h
/openbmc/qemu/include/system/hw_accel.h
/openbmc/qemu/include/system/iommufd.h
/openbmc/qemu/include/system/kvm.h
/openbmc/qemu/include/system/memory.h
/openbmc/qemu/include/system/nvmm.h
/openbmc/qemu/include/system/ramblock.h
/openbmc/qemu/include/system/whpx.h
/openbmc/qemu/include/tcg/tcg-op-gvec-common.h
/openbmc/qemu/libdecnumber/decContext.c
/openbmc/qemu/libdecnumber/decNumber.c
/openbmc/qemu/libdecnumber/dpd/decimal128.c
/openbmc/qemu/libdecnumber/dpd/decimal32.c
/openbmc/qemu/libdecnumber/dpd/decimal64.c
/openbmc/qemu/linux-headers/asm-arm64/kvm.h
/openbmc/qemu/linux-headers/asm-x86/kvm.h
/openbmc/qemu/linux-headers/linux/bits.h
/openbmc/qemu/linux-headers/linux/kvm.h
/openbmc/qemu/linux-headers/linux/vhost.h
/openbmc/qemu/linux-user/aarch64/signal.c
/openbmc/qemu/linux-user/arm/cpu_loop.c
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/gen-vdso.c
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/meson.build
/openbmc/qemu/migration/cpr-transfer.c
/openbmc/qemu/migration/cpr.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/monitor/hmp-cmds-target.c
/openbmc/qemu/plugins/api.c
/openbmc/qemu/plugins/core.c
/openbmc/qemu/plugins/meson.build
/openbmc/qemu/python/qemu/utils/__init__.py
/openbmc/qemu/python/qemu/utils/accel.py
/openbmc/qemu/qapi/machine.json
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/qom.json
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/vss-win32/install.cpp
/openbmc/qemu/rust/hw/char/pl011/src/device.rs
/openbmc/qemu/rust/hw/timer/hpet/src/device.rs
/openbmc/qemu/rust/qemu-api-macros/src/bits.rs
/openbmc/qemu/rust/qemu-api-macros/src/lib.rs
/openbmc/qemu/rust/qemu-api/build.rs
bindings.rs
/openbmc/qemu/scripts/device-crash-test
/openbmc/qemu/scripts/tracetool/__init__.py
/openbmc/qemu/scripts/tracetool/backend/ftrace.py
/openbmc/qemu/scripts/tracetool/backend/log.py
/openbmc/qemu/scripts/tracetool/backend/syslog.py
/openbmc/qemu/semihosting/meson.build
/openbmc/qemu/semihosting/uaccess.c
/openbmc/qemu/system/cpus.c
/openbmc/qemu/system/memory.c
/openbmc/qemu/system/meson.build
/openbmc/qemu/system/physmem.c
/openbmc/qemu/system/ram-block-attributes.c
/openbmc/qemu/system/trace-events
/openbmc/qemu/target/arm/cpu-features.h
/openbmc/qemu/target/arm/cpu-sysregs.h
/openbmc/qemu/target/arm/cpu-sysregs.h.inc
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/hvf/hvf.c
/openbmc/qemu/target/arm/hvf/trace-events
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/machine.c
/openbmc/qemu/target/arm/ptw.c
/openbmc/qemu/target/arm/syndrome.h
/openbmc/qemu/target/arm/tcg/cpu-v7m.c
/openbmc/qemu/target/arm/tcg/cpu32.c
/openbmc/qemu/target/arm/tcg/cpu64.c
/openbmc/qemu/target/arm/tcg/gengvec64.c
/openbmc/qemu/target/arm/tcg/helper-a64.c
/openbmc/qemu/target/arm/tcg/helper-sme.h
/openbmc/qemu/target/arm/tcg/helper-sve.h
/openbmc/qemu/target/arm/tcg/helper.h
/openbmc/qemu/target/arm/tcg/hflags.c
/openbmc/qemu/target/arm/tcg/m_helper.c
/openbmc/qemu/target/arm/tcg/mve_helper.c
/openbmc/qemu/target/arm/tcg/neon_helper.c
/openbmc/qemu/target/arm/tcg/sme.decode
/openbmc/qemu/target/arm/tcg/sme_helper.c
/openbmc/qemu/target/arm/tcg/sve.decode
/openbmc/qemu/target/arm/tcg/sve_helper.c
/openbmc/qemu/target/arm/tcg/sve_ldst_internal.h
/openbmc/qemu/target/arm/tcg/translate-a64.c
/openbmc/qemu/target/arm/tcg/translate-a64.h
/openbmc/qemu/target/arm/tcg/translate-neon.c
/openbmc/qemu/target/arm/tcg/translate-sme.c
/openbmc/qemu/target/arm/tcg/translate-sve.c
/openbmc/qemu/target/arm/tcg/translate.c
/openbmc/qemu/target/arm/tcg/translate.h
/openbmc/qemu/target/arm/tcg/vec_helper.c
/openbmc/qemu/target/arm/tcg/vec_internal.h
/openbmc/qemu/target/arm/tcg/vfp_helper.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/emulate/x86_emu.c
/openbmc/qemu/target/i386/emulate/x86_flags.c
/openbmc/qemu/target/i386/emulate/x86_flags.h
/openbmc/qemu/target/i386/hvf/hvf.c
/openbmc/qemu/target/i386/hvf/x86hvf.c
/openbmc/qemu/target/i386/kvm/kvm.c
/openbmc/qemu/target/i386/kvm/meson.build
/openbmc/qemu/target/i386/kvm/tdx-quote-generator.c
/openbmc/qemu/target/i386/kvm/tdx-quote-generator.h
/openbmc/qemu/target/i386/kvm/tdx-stub.c
/openbmc/qemu/target/i386/kvm/tdx.c
/openbmc/qemu/target/i386/kvm/tdx.h
/openbmc/qemu/target/i386/nvmm/nvmm-accel-ops.c
/openbmc/qemu/target/i386/nvmm/nvmm-all.c
/openbmc/qemu/target/i386/whpx/whpx-accel-ops.c
/openbmc/qemu/target/i386/whpx/whpx-accel-ops.h
/openbmc/qemu/target/i386/whpx/whpx-all.c
/openbmc/qemu/target/loongarch/README
/openbmc/qemu/target/loongarch/cpu.h
/openbmc/qemu/target/loongarch/kvm/kvm.c
/openbmc/qemu/target/loongarch/tcg/insn_trans/trans_vec.c.inc
/openbmc/qemu/target/riscv/cpu-qom.h
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/cpu_bits.h
/openbmc/qemu/target/riscv/cpu_cfg_fields.h.inc
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/riscv/csr.c
/openbmc/qemu/target/riscv/fpu_helper.c
/openbmc/qemu/target/riscv/helper.h
/openbmc/qemu/target/riscv/insn_trans/trans_rvv.c.inc
/openbmc/qemu/target/riscv/internals.h
/openbmc/qemu/target/riscv/kvm/kvm-cpu.c
/openbmc/qemu/target/riscv/machine.c
/openbmc/qemu/target/riscv/op_helper.c
/openbmc/qemu/target/riscv/pmp.c
/openbmc/qemu/target/riscv/riscv-qmp-cmds.c
/openbmc/qemu/target/riscv/tcg/tcg-cpu.c
/openbmc/qemu/target/riscv/time_helper.c
/openbmc/qemu/target/riscv/time_helper.h
/openbmc/qemu/target/riscv/translate.c
/openbmc/qemu/target/riscv/vector_helper.c
/openbmc/qemu/target/s390x/cpu_features_def.h.inc
/openbmc/qemu/target/s390x/cpu_models_system.c
/openbmc/qemu/target/xtensa/core-dc232b/gdb-config.c.inc
/openbmc/qemu/target/xtensa/core-dc232b/xtensa-modules.c.inc
/openbmc/qemu/target/xtensa/core-fsf/xtensa-modules.c.inc
/openbmc/qemu/tcg/optimize.c
/openbmc/qemu/tcg/riscv/tcg-target.c.inc
/openbmc/qemu/tcg/tcg-op-gvec.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tests/data/acpi/aarch64/virt/APIC.its_off
/openbmc/qemu/tests/data/acpi/aarch64/virt/IORT.its_off
/openbmc/qemu/tests/data/acpi/riscv64/virt/RHCT
/openbmc/qemu/tests/functional/aspeed.py
/openbmc/qemu/tests/functional/meson.build
/openbmc/qemu/tests/functional/qemu_test/testcase.py
/openbmc/qemu/tests/functional/test_aarch64_device_passthrough.py
/openbmc/qemu/tests/functional/test_aarch64_hotplug_pci.py
/openbmc/qemu/tests/functional/test_aarch64_imx8mp_evk.py
/openbmc/qemu/tests/functional/test_aarch64_sbsaref.py
/openbmc/qemu/tests/functional/test_aarch64_sbsaref_alpine.py
/openbmc/qemu/tests/functional/test_aarch64_sbsaref_freebsd.py
/openbmc/qemu/tests/functional/test_aarch64_smmu.py
/openbmc/qemu/tests/functional/test_aarch64_xen.py
/openbmc/qemu/tests/functional/test_arm_aspeed_catalina.py
/openbmc/qemu/tests/functional/test_arm_aspeed_gb200nvl_bmc.py
/openbmc/qemu/tests/functional/test_arm_realview.py
/openbmc/qemu/tests/functional/test_pc_cpu_hotplug_props.py
/openbmc/qemu/tests/include/meson.build
/openbmc/qemu/tests/qtest/aspeed_scu-test.c
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/qtest/migration/cpr-tests.c
/openbmc/qemu/tests/qtest/qmp-cmd-test.c
/openbmc/qemu/tests/qtest/vmgenid-test.c
/openbmc/qemu/tests/tcg/Makefile.target
/openbmc/qemu/tests/tcg/plugins/meson.build
/openbmc/qemu/tests/tcg/plugins/patch.c
/openbmc/qemu/tests/tcg/riscv64/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/riscv64/test-mepc-masking.S
/openbmc/qemu/tests/tcg/x86_64/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/x86_64/system/patch-target.c
/openbmc/qemu/tests/tcg/x86_64/system/validate-patch.py
/openbmc/qemu/tests/vm/openbsd
/openbmc/qemu/trace/meson.build
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/ui/vnc.h
/openbmc/qemu/util/rcu.c
ab81002215-Jun-2025 Bernhard Beschow <shentey@gmail.com>

rust/qemu-api: Add initial logging support based on C API

A log_mask_ln!() macro is provided which expects similar arguments as the
C version. However, the formatting works as one would expect from

rust/qemu-api: Add initial logging support based on C API

A log_mask_ln!() macro is provided which expects similar arguments as the
C version. However, the formatting works as one would expect from Rust.

To maximize code reuse the macro is just a thin wrapper around
qemu_log(). Also, just the bare minimum of logging masks is provided
which should suffice for the current use case of Rust in QEMU.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Link: https://lore.kernel.org/r/20250615112037.11992-2-shentey@gmail.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

345bef4604-Mar-2025 Paolo Bonzini <pbonzini@redhat.com>

rust: qom: change instance_init to take a ParentInit<>

This removes undefined behavior associated to writing to uninitialized
fields, and makes it possible to remove "unsafe" from the instance_init

rust: qom: change instance_init to take a ParentInit<>

This removes undefined behavior associated to writing to uninitialized
fields, and makes it possible to remove "unsafe" from the instance_init
implementation.

However, the init function itself is still unsafe, because it must promise
(as a sort as MaybeUninit::assume_init) that all fields have been
initialized.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

8d394f6c28-Feb-2025 Paolo Bonzini <pbonzini@redhat.com>

rust: qom: make ParentInit lifetime-invariant

This is the trick that allows the parent-field initializer to be used
only for the object that it's meant to be initialized. This way,
the owner of a M

rust: qom: make ParentInit lifetime-invariant

This is the trick that allows the parent-field initializer to be used
only for the object that it's meant to be initialized. This way,
the owner of a MemoryRegion must be the object that embeds it.

More information is in the comments; it's best explained with a simplified
example.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

a441222528-Feb-2025 Paolo Bonzini <pbonzini@redhat.com>

rust: qom: introduce ParentInit

This is a smart pointer for MaybeUninit; it can be upcasted to the
already-initialized parent classes, or dereferenced to a MaybeUninit
for the class that is being in

rust: qom: introduce ParentInit

This is a smart pointer for MaybeUninit; it can be upcasted to the
already-initialized parent classes, or dereferenced to a MaybeUninit
for the class that is being initialized.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

abf1832428-Feb-2025 Paolo Bonzini <pbonzini@redhat.com>

rust: qemu_api: introduce MaybeUninit field projection

Add a macro that makes it possible to convert a MaybeUninit<> into
another MaybeUninit<> for a single field within it. Furthermore, it is
poss

rust: qemu_api: introduce MaybeUninit field projection

Add a macro that makes it possible to convert a MaybeUninit<> into
another MaybeUninit<> for a single field within it. Furthermore, it is
possible to use the resulting MaybeUninitField<> in APIs that take the
parent object, such as memory_region_init_io().

This allows removing some of the undefined behavior from instance_init()
functions, though this may not be the definitive implementation.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/openbmc/qemu/.gitlab-ci.d/buildtest-template.yml
/openbmc/qemu/.mailmap
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/hvf/hvf-accel-ops.c
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/backends/iommufd.c
/openbmc/qemu/backends/tpm/tpm_emulator.c
/openbmc/qemu/backends/trace-events
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/blklogwrites.c
/openbmc/qemu/block/blkverify.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/linux-aio.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/quorum.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/snapshot.c
/openbmc/qemu/block/stream.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/blockjob.c
/openbmc/qemu/chardev/char-fd.c
/openbmc/qemu/chardev/char-pty.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/contrib/plugins/ips.c
/openbmc/qemu/docs/about/emulation.rst
/openbmc/qemu/docs/devel/rust.rst
/openbmc/qemu/docs/sphinx/qapi_domain.py
/openbmc/qemu/docs/sphinx/qapidoc.py
/openbmc/qemu/gdb-xml/aarch64-core.xml
/openbmc/qemu/gdbstub/gdbstub.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/audio/ac97.c
/openbmc/qemu/hw/audio/cs4231a.c
/openbmc/qemu/hw/audio/es1370.c
/openbmc/qemu/hw/audio/gus.c
/openbmc/qemu/hw/audio/marvell_88w8618.c
/openbmc/qemu/hw/audio/sb16.c
/openbmc/qemu/hw/audio/via-ac97.c
/openbmc/qemu/hw/char/sclpconsole-lm.c
/openbmc/qemu/hw/char/sh_serial.c
/openbmc/qemu/hw/core/qdev-properties-system.c
/openbmc/qemu/hw/display/apple-gfx.m
/openbmc/qemu/hw/display/vmware_vga.c
/openbmc/qemu/hw/dma/xlnx_csu_dma.c
/openbmc/qemu/hw/gpio/pca9552.c
/openbmc/qemu/hw/hyperv/hv-balloon.c
/openbmc/qemu/hw/hyperv/syndbg.c
/openbmc/qemu/hw/intc/loongarch_pch_pic.c
/openbmc/qemu/hw/loongarch/boot.c
/openbmc/qemu/hw/loongarch/virt-acpi-build.c
/openbmc/qemu/hw/loongarch/virt.c
/openbmc/qemu/hw/misc/aspeed_hace.c
/openbmc/qemu/hw/misc/stm32_rcc.c
/openbmc/qemu/hw/net/fsl_etsec/etsec.c
/openbmc/qemu/hw/net/i82596.c
/openbmc/qemu/hw/net/rtl8139.c
/openbmc/qemu/hw/net/tulip.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/net/xgmac.c
/openbmc/qemu/hw/nvme/ctrl.c
/openbmc/qemu/hw/pci-host/ppce500.c
/openbmc/qemu/hw/pci-host/raven.c
/openbmc/qemu/hw/pci/msix.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/ppc/e500.h
/openbmc/qemu/hw/ppc/e500plat.c
/openbmc/qemu/hw/ppc/mpc8544ds.c
/openbmc/qemu/hw/ppc/pnv_occ.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/ppc/spapr_tpm_proxy.c
/openbmc/qemu/hw/riscv/riscv-iommu-pci.c
/openbmc/qemu/hw/riscv/riscv-iommu-sys.c
/openbmc/qemu/hw/s390x/ap-stub.c
/openbmc/qemu/hw/s390x/meson.build
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/scsi/lsi53c895a.c
/openbmc/qemu/hw/scsi/megasas.c
/openbmc/qemu/hw/timer/hpet.c
/openbmc/qemu/hw/ufs/lu.c
/openbmc/qemu/hw/usb/hcd-ohci.c
/openbmc/qemu/hw/vfio/ap.c
/openbmc/qemu/hw/vfio/container-base.c
/openbmc/qemu/hw/vfio/container.c
/openbmc/qemu/hw/vfio/cpr-legacy.c
/openbmc/qemu/hw/vfio/cpr.c
/openbmc/qemu/hw/vfio/device.c
/openbmc/qemu/hw/vfio/igd.c
/openbmc/qemu/hw/vfio/iommufd.c
/openbmc/qemu/hw/vfio/listener.c
/openbmc/qemu/hw/vfio/meson.build
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/pci.h
/openbmc/qemu/hw/vfio/region.c
/openbmc/qemu/hw/vfio/trace-events
/openbmc/qemu/hw/virtio/vhost-vdpa.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/include/block/block-global-state.h
/openbmc/qemu/include/block/block-io.h
/openbmc/qemu/include/block/block_int-common.h
/openbmc/qemu/include/block/blockjob.h
/openbmc/qemu/include/exec/memop.h
/openbmc/qemu/include/gdbstub/commands.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/core/resetcontainer.h
/openbmc/qemu/include/hw/gpio/aspeed_gpio.h
/openbmc/qemu/include/hw/intc/loongarch_extioi_common.h
/openbmc/qemu/include/hw/loongarch/boot.h
/openbmc/qemu/include/hw/loongarch/virt.h
/openbmc/qemu/include/hw/pci/msix.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/riscv/iommu.h
/openbmc/qemu/include/hw/s390x/ap-bridge.h
/openbmc/qemu/include/hw/vfio/vfio-container-base.h
/openbmc/qemu/include/hw/vfio/vfio-container.h
/openbmc/qemu/include/hw/vfio/vfio-cpr.h
/openbmc/qemu/include/hw/vfio/vfio-device.h
/openbmc/qemu/include/hw/vfio/vfio-region.h
/openbmc/qemu/include/hw/virtio/virtio-mem.h
/openbmc/qemu/include/hw/virtio/virtio-pmem.h
/openbmc/qemu/include/migration/cpr.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qemu/compiler.h
/openbmc/qemu/include/qemu/futex.h
/openbmc/qemu/include/qemu/lockcnt.h
/openbmc/qemu/include/qemu/thread-posix.h
/openbmc/qemu/include/qemu/thread-win32.h
/openbmc/qemu/include/qemu/thread.h
/openbmc/qemu/include/system/host_iommu_device.h
/openbmc/qemu/include/system/hvf_int.h
/openbmc/qemu/include/system/iommufd.h
/openbmc/qemu/include/system/kvm.h
/openbmc/qemu/include/system/memory.h
/openbmc/qemu/meson.build
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/cpr.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/net/socket.c
/openbmc/qemu/net/stream.c
/openbmc/qemu/pc-bios/bios-256k.bin
/openbmc/qemu/pc-bios/bios-microvm.bin
/openbmc/qemu/pc-bios/bios.bin
/openbmc/qemu/pc-bios/dtb/meson.build
/openbmc/qemu/pc-bios/meson.build
/openbmc/qemu/pc-bios/vgabios-ati.bin
/openbmc/qemu/pc-bios/vgabios-bochs-display.bin
/openbmc/qemu/pc-bios/vgabios-cirrus.bin
/openbmc/qemu/pc-bios/vgabios-qxl.bin
/openbmc/qemu/pc-bios/vgabios-ramfb.bin
/openbmc/qemu/pc-bios/vgabios-stdvga.bin
/openbmc/qemu/pc-bios/vgabios-virtio.bin
/openbmc/qemu/pc-bios/vgabios-vmware.bin
/openbmc/qemu/pc-bios/vgabios.bin
/openbmc/qemu/python/setup.cfg
/openbmc/qemu/python/tests/minreqs.txt
/openbmc/qemu/python/tests/qapi-flake8.sh
/openbmc/qemu/python/tests/qapi-isort.sh
/openbmc/qemu/python/tests/qapi-mypy.sh
/openbmc/qemu/python/tests/qapi-pylint.sh
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qga/commands-win32.c
/openbmc/qemu/qga/guest-agent-core.h
/openbmc/qemu/qga/main.c
/openbmc/qemu/qga/meson.build
/openbmc/qemu/qga/qapi-schema.json
/openbmc/qemu/roms/seabios
/openbmc/qemu/rust/hw/timer/hpet/src/device.rs
/openbmc/qemu/rust/hw/timer/hpet/src/fw_cfg.rs
/openbmc/qemu/rust/qemu-api-macros/src/lib.rs
/openbmc/qemu/rust/qemu-api/meson.build
lib.rs
uninit.rs
/openbmc/qemu/scripts/meson-buildoptions.sh
/openbmc/qemu/scripts/qapi/backend.py
/openbmc/qemu/scripts/qapi/pylintrc
/openbmc/qemu/system/memory.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/kvm/kvm.c
/openbmc/qemu/target/i386/ops_sse.h
/openbmc/qemu/target/i386/tcg/fpu_helper.c
/openbmc/qemu/target/i386/tcg/translate.c
/openbmc/qemu/target/loongarch/tcg/insn_trans/trans_fcmp.c.inc
/openbmc/qemu/target/loongarch/tcg/insn_trans/trans_vec.c.inc
/openbmc/qemu/target/s390x/gen-features.c
/openbmc/qemu/target/s390x/ioinst.c
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/functional/meson.build
/openbmc/qemu/tests/functional/qemu_test/__init__.py
/openbmc/qemu/tests/functional/qemu_test/decorators.py
/openbmc/qemu/tests/functional/test_avr_mega2560.py
/openbmc/qemu/tests/functional/test_avr_uno.py
/openbmc/qemu/tests/functional/test_memlock.py
/openbmc/qemu/tests/functional/test_vnc.py
/openbmc/qemu/tests/qemu-iotests/240
/openbmc/qemu/tests/qemu-iotests/240.out
/openbmc/qemu/tests/qemu-iotests/tests/graph-changes-while-io
/openbmc/qemu/tests/qemu-iotests/tests/graph-changes-while-io.out
/openbmc/qemu/tests/qtest/libqos/igb.c
/openbmc/qemu/tests/tcg/aarch64/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/aarch64/system/boot.S
/openbmc/qemu/tests/tcg/x86_64/fma.c
/openbmc/qemu/tests/unit/test-aio-multithread.c
/openbmc/qemu/tests/unit/test-bdrv-drain.c
/openbmc/qemu/tests/unit/test-bdrv-graph-mod.c
/openbmc/qemu/tests/unit/test-char.c
/openbmc/qemu/tests/unit/test-qga.c
/openbmc/qemu/tests/vm/README
/openbmc/qemu/util/event.c
/openbmc/qemu/util/lockcnt.c
/openbmc/qemu/util/meson.build
/openbmc/qemu/util/qemu-thread-posix.c
/openbmc/qemu/util/qemu-thread-win32.c
4b66abea23-May-2025 Paolo Bonzini <pbonzini@redhat.com>

rust: qdev: support returning errors from realize

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

9a33f49f29-May-2025 Paolo Bonzini <pbonzini@redhat.com>

rust: qemu-api: add tests for Error bindings

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

b4ff3cf303-Jun-2025 Paolo Bonzini <pbonzini@redhat.com>

rust: qemu-api: add bindings to Error

Provide an implementation of std::error::Error that bridges the Rust
anyhow::Error and std::panic::Location types with QEMU's Error*.

It also has several utili

rust: qemu-api: add bindings to Error

Provide an implementation of std::error::Error that bridges the Rust
anyhow::Error and std::panic::Location types with QEMU's Error*.

It also has several utility methods, analogous to error_propagate(),
that convert a Result into a return value + Error** pair. One important
difference is that these propagation methods *panic* if *errp is NULL,
unlike error_propagate() which eats subsequent errors[1]. The reason
for this is that in C you have an error_set*() call at the site where
the error is created, and calls to error_propagate() are relatively rare.

In Rust instead, even though these functions do "propagate" a
qemu_api::Error into a C Error**, there is no error_setg() anywhere that
could check for non-NULL errp and call abort(). error_propagate()'s
behavior of ignoring subsequent errors is generally considered weird,
and there would be a bigger risk of triggering it from Rust code.

[1] This is actually a violation of the preconditions of error_propagate(),
so it should not happen. But you never know...

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/openbmc/qemu/clippy.toml
/openbmc/qemu/docs/devel/rust.rst
/openbmc/qemu/hw/i386/tdvf.c
/openbmc/qemu/include/qapi/error-internal.h
/openbmc/qemu/meson.build
/openbmc/qemu/qapi/acpi.json
/openbmc/qemu/qapi/audio.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/block-export.json
/openbmc/qemu/qapi/block.json
/openbmc/qemu/qapi/char.json
/openbmc/qemu/qapi/crypto.json
/openbmc/qemu/qapi/cryptodev.json
/openbmc/qemu/qapi/cxl.json
/openbmc/qemu/qapi/dump.json
/openbmc/qemu/qapi/introspect.json
/openbmc/qemu/qapi/job.json
/openbmc/qemu/qapi/machine.json
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/misc-i386.json
/openbmc/qemu/qapi/misc.json
/openbmc/qemu/qapi/net.json
/openbmc/qemu/qapi/qom.json
/openbmc/qemu/qapi/run-state.json
/openbmc/qemu/qapi/transaction.json
/openbmc/qemu/qapi/uefi.json
/openbmc/qemu/qapi/ui.json
/openbmc/qemu/rust/Cargo.lock
/openbmc/qemu/rust/Cargo.toml
/openbmc/qemu/rust/bits/Cargo.toml
/openbmc/qemu/rust/bits/meson.build
/openbmc/qemu/rust/bits/src/lib.rs
/openbmc/qemu/rust/hw/char/pl011/Cargo.toml
/openbmc/qemu/rust/hw/char/pl011/meson.build
/openbmc/qemu/rust/hw/char/pl011/src/device.rs
/openbmc/qemu/rust/hw/char/pl011/src/registers.rs
/openbmc/qemu/rust/meson.build
/openbmc/qemu/rust/qemu-api-macros/src/bits.rs
/openbmc/qemu/rust/qemu-api-macros/src/lib.rs
/openbmc/qemu/rust/qemu-api/Cargo.toml
/openbmc/qemu/rust/qemu-api/meson.build
error.rs
lib.rs
/openbmc/qemu/rust/wrapper.h
/openbmc/qemu/scripts/archive-source.sh
/openbmc/qemu/scripts/make-release
/openbmc/qemu/scripts/rust/rustc_args.py
/openbmc/qemu/scripts/tracetool/backend/simple.py
/openbmc/qemu/subprojects/.gitignore
/openbmc/qemu/subprojects/anyhow-1-rs.wrap
/openbmc/qemu/subprojects/foreign-0.3-rs.wrap
/openbmc/qemu/subprojects/packagefiles/anyhow-1-rs/meson.build
/openbmc/qemu/subprojects/packagefiles/foreign-0.3-rs/meson.build
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/kvm/tdx.c
/openbmc/qemu/util/error.c
18c9f4a105-Apr-2025 Paolo Bonzini <pbonzini@redhat.com>

rust: cell: remove support for running doctests with "cargo test --doc"

This is not needed anymore now that tests link with libqemuutil.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

b652d51211-Dec-2024 Paolo Bonzini <pbonzini@redhat.com>

rust: bindings: allow ptr_offset_with_cast

This is produced by recent versions of bindgen:

warning: use of `offset` with a `usize` casted to an `isize`
--> /builds/bonzini/qemu/rust/target/debug/

rust: bindings: allow ptr_offset_with_cast

This is produced by recent versions of bindgen:

warning: use of `offset` with a `usize` casted to an `isize`
--> /builds/bonzini/qemu/rust/target/debug/build/qemu_api-35cb647f4db404b8/out/bindings.inc.rs:39:21
|
39 | let byte = *(core::ptr::addr_of!((*this).storage) as *const u8).offset(byte_index as isize);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(core::ptr::addr_of!((*this).storage) as *const u8).add(byte_index)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast
= note: `#[warn(clippy::ptr_offset_with_cast)]` on by default
warning: use of `offset` with a `usize` casted to an `isize`
--> /builds/bonzini/qemu/rust/target/debug/build/qemu_api-35cb647f4db404b8/out/bindings.inc.rs:68:13
|
68 | (core::ptr::addr_of_mut!((*this).storage) as *mut u8).offset(byte_index as isize);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(core::ptr::addr_of_mut!((*this).storage) as *mut u8).add(byte_index)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast

This seems to be new in bindgen 0.71.0, possibly related to bindgen
commit 33006185b7878 ("Add raw_ref_macros feature", 2024-11-22).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/openbmc/qemu/.gitlab-ci.d/buildtest.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/tcg/cpu-exec.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/audio/alsaaudio.c
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/audio_int.h
/openbmc/qemu/audio/audio_template.h
/openbmc/qemu/audio/mixeng.c
/openbmc/qemu/audio/mixeng.h
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/configs/devices/i386-softmmu/default.mak
/openbmc/qemu/configs/targets/microblaze-softmmu.mak
/openbmc/qemu/configs/targets/microblazeel-softmmu.mak
/openbmc/qemu/crypto/cipher-stub.c.inc
/openbmc/qemu/crypto/cipher.c
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/about/removed-features.rst
/openbmc/qemu/docs/interop/bitmaps.rst
/openbmc/qemu/docs/interop/index.rst
/openbmc/qemu/docs/interop/qcow2.rst
/openbmc/qemu/docs/qcow2-cache.txt
/openbmc/qemu/docs/system/arm/aspeed.rst
/openbmc/qemu/docs/system/confidential-guest-support.rst
/openbmc/qemu/docs/system/i386/tdx.rst
/openbmc/qemu/docs/system/target-i386.rst
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/aspeed_ast27x0-fc.c
/openbmc/qemu/hw/arm/aspeed_ast27x0.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/fby35.c
/openbmc/qemu/hw/arm/npcm8xx.c
/openbmc/qemu/hw/audio/asc.c
/openbmc/qemu/hw/block/Kconfig
/openbmc/qemu/hw/block/meson.build
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/kvm/apic.c
/openbmc/qemu/hw/i386/kvm/xen-stubs.c
/openbmc/qemu/hw/i386/kvm/xen_evtchn.c
/openbmc/qemu/hw/i386/meson.build
/openbmc/qemu/hw/i386/monitor.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/i386/pc_sysfw.c
/openbmc/qemu/hw/i386/sgx-stub.c
/openbmc/qemu/hw/i386/sgx.c
/openbmc/qemu/hw/i386/tdvf-hob.c
/openbmc/qemu/hw/i386/tdvf-hob.h
/openbmc/qemu/hw/i386/tdvf.c
/openbmc/qemu/hw/i386/x86-common.c
/openbmc/qemu/hw/i386/x86.c
/openbmc/qemu/hw/intc/aspeed_intc.c
/openbmc/qemu/hw/microblaze/petalogix_ml605_mmu.c
/openbmc/qemu/hw/microblaze/petalogix_s3adsp1800_mmu.c
/openbmc/qemu/hw/microblaze/xlnx-zynqmp-pmu.c
/openbmc/qemu/hw/misc/aspeed_hace.c
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/net/e1000.c
/openbmc/qemu/hw/net/rocker/rocker.h
/openbmc/qemu/hw/net/rocker/rocker_hw.h
/openbmc/qemu/hw/net/rocker/rocker_of_dpa.c
/openbmc/qemu/hw/net/vmxnet3.c
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/s390x/cpu-topology.c
/openbmc/qemu/hw/s390x/s390-skeys.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/scsi/vmw_pvscsi.c
/openbmc/qemu/hw/virtio/vhost-vdpa.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/include/accel/tcg/cpu-ops.h
/openbmc/qemu/include/hw/arm/npcm8xx.h
/openbmc/qemu/include/hw/block/flash.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/i386/tdvf.h
/openbmc/qemu/include/hw/i386/x86.h
/openbmc/qemu/include/hw/loader.h
/openbmc/qemu/include/hw/misc/aspeed_hace.h
/openbmc/qemu/include/hw/nvram/fw_cfg.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/pci/pci_device.h
/openbmc/qemu/include/hw/pci/pcie.h
/openbmc/qemu/include/hw/pci/pcie_regs.h
/openbmc/qemu/include/hw/s390x/cpu-topology.h
/openbmc/qemu/include/hw/virtio/vhost-vdpa.h
/openbmc/qemu/include/hw/virtio/virtio-pci.h
/openbmc/qemu/include/io/channel-socket.h
/openbmc/qemu/include/standard-headers/uefi/uefi.h
/openbmc/qemu/include/system/kvm.h
/openbmc/qemu/include/system/memory.h
/openbmc/qemu/include/tcg/tcg.h
/openbmc/qemu/include/ui/clipboard.h
/openbmc/qemu/include/ui/egl-helpers.h
/openbmc/qemu/include/ui/gtk.h
/openbmc/qemu/include/ui/qemu-pixman.h
/openbmc/qemu/io/channel-socket.c
/openbmc/qemu/io/dns-resolver.c
/openbmc/qemu/linux-user/hppa/cpu_loop.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/meson.build
/openbmc/qemu/migration/migration-hmp-cmds.c
/openbmc/qemu/migration/multifd-nocomp.c
/openbmc/qemu/migration/multifd-zero-page.c
/openbmc/qemu/migration/multifd.c
/openbmc/qemu/migration/options.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/nbd/client-connection.c
/openbmc/qemu/nbd/common.c
/openbmc/qemu/nbd/nbd-internal.h
/openbmc/qemu/nbd/server.c
/openbmc/qemu/net/vhost-vdpa.c
/openbmc/qemu/qapi/audio.json
/openbmc/qemu/qapi/block.json
/openbmc/qemu/qapi/char.json
/openbmc/qemu/qapi/control.json
/openbmc/qemu/qapi/cryptodev.json
/openbmc/qemu/qapi/dump.json
/openbmc/qemu/qapi/machine-s390x.json
/openbmc/qemu/qapi/machine.json
/openbmc/qemu/qapi/meson.build
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/misc-arm.json
/openbmc/qemu/qapi/misc-i386.json
/openbmc/qemu/qapi/misc.json
/openbmc/qemu/qapi/qapi-schema.json
/openbmc/qemu/qapi/qom.json
/openbmc/qemu/qapi/run-state.json
/openbmc/qemu/qapi/sockets.json
/openbmc/qemu/qapi/ui.json
/openbmc/qemu/qapi/virtio.json
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/rust/hw/char/pl011/meson.build
/openbmc/qemu/rust/hw/timer/hpet/src/device.rs
/openbmc/qemu/rust/hw/timer/hpet/src/lib.rs
/openbmc/qemu/rust/meson.build
/openbmc/qemu/rust/qemu-api-macros/meson.build
/openbmc/qemu/rust/qemu-api/meson.build
bindings.rs
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/rdma-migration-helper.sh
/openbmc/qemu/scripts/vmstate-static-checker.py
/openbmc/qemu/stubs/meson.build
/openbmc/qemu/stubs/monitor-arm-gic.c
/openbmc/qemu/stubs/monitor-cpu-s390x-kvm.c
/openbmc/qemu/stubs/monitor-cpu-s390x.c
/openbmc/qemu/stubs/monitor-cpu.c
/openbmc/qemu/stubs/monitor-i386-rtc.c
/openbmc/qemu/stubs/monitor-i386-sev.c
/openbmc/qemu/stubs/monitor-i386-sgx.c
/openbmc/qemu/stubs/monitor-i386-xen.c
/openbmc/qemu/system/main.c
/openbmc/qemu/system/runstate.c
/openbmc/qemu/system/vl.c
/openbmc/qemu/target/alpha/cpu.c
/openbmc/qemu/target/arm/arm-qmp-cmds.c
/openbmc/qemu/target/arm/cpregs.h
/openbmc/qemu/target/arm/cpu-features.h
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/hvf-stub.c
/openbmc/qemu/target/arm/hvf_arm.h
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/kvm_arm.h
/openbmc/qemu/target/arm/meson.build
/openbmc/qemu/target/arm/tcg/cpu-v7m.c
/openbmc/qemu/target/arm/tcg/meson.build
/openbmc/qemu/target/avr/cpu.c
/openbmc/qemu/target/hppa/cpu.c
/openbmc/qemu/target/hppa/fpu_helper.c
/openbmc/qemu/target/hppa/int_helper.c
/openbmc/qemu/target/i386/confidential-guest.h
/openbmc/qemu/target/i386/cpu-system.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/emulate/x86_flags.c
/openbmc/qemu/target/i386/host-cpu.c
/openbmc/qemu/target/i386/host-cpu.h
/openbmc/qemu/target/i386/kvm/kvm.c
/openbmc/qemu/target/i386/kvm/kvm_i386.h
/openbmc/qemu/target/i386/kvm/meson.build
/openbmc/qemu/target/i386/kvm/tdx-stub.c
/openbmc/qemu/target/i386/kvm/tdx.c
/openbmc/qemu/target/i386/kvm/tdx.h
/openbmc/qemu/target/i386/machine.c
/openbmc/qemu/target/i386/monitor.c
/openbmc/qemu/target/i386/sev-system-stub.c
/openbmc/qemu/target/i386/sev.c
/openbmc/qemu/target/i386/tcg/helper-tcg.h
/openbmc/qemu/target/i386/tcg/tcg-cpu.c
/openbmc/qemu/target/loongarch/cpu.c
/openbmc/qemu/target/loongarch/kvm/kvm.c
/openbmc/qemu/target/loongarch/loongarch-qmp-cmds.c
/openbmc/qemu/target/m68k/cpu.c
/openbmc/qemu/target/microblaze/cpu.c
/openbmc/qemu/target/microblaze/cpu.h
/openbmc/qemu/target/microblaze/helper.c
/openbmc/qemu/target/microblaze/helper.h
/openbmc/qemu/target/microblaze/mmu.c
/openbmc/qemu/target/microblaze/op_helper.c
/openbmc/qemu/target/microblaze/translate.c
/openbmc/qemu/target/mips/cpu.c
/openbmc/qemu/target/mips/kvm.c
/openbmc/qemu/target/mips/system/mips-qmp-cmds.c
/openbmc/qemu/target/openrisc/cpu.c
/openbmc/qemu/target/ppc/cpu_init.c
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/ppc-qmp-cmds.c
/openbmc/qemu/target/riscv/kvm/kvm-cpu.c
/openbmc/qemu/target/riscv/riscv-qmp-cmds.c
/openbmc/qemu/target/riscv/tcg/tcg-cpu.c
/openbmc/qemu/target/rx/cpu.c
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu_models_system.c
/openbmc/qemu/target/s390x/kvm/kvm.c
/openbmc/qemu/target/sh4/cpu.c
/openbmc/qemu/target/sh4/translate.c
/openbmc/qemu/target/sparc/cpu.c
/openbmc/qemu/target/sparc/fop_helper.c
/openbmc/qemu/target/tricore/cpu.c
/openbmc/qemu/target/xtensa/cpu.c
/openbmc/qemu/tcg/aarch64/tcg-target.c.inc
/openbmc/qemu/tcg/arm/tcg-target.c.inc
/openbmc/qemu/tcg/i386/tcg-target.c.inc
/openbmc/qemu/tcg/loongarch64/tcg-target.c.inc
/openbmc/qemu/tcg/mips/tcg-target.c.inc
/openbmc/qemu/tcg/perf.c
/openbmc/qemu/tcg/ppc/tcg-target.c.inc
/openbmc/qemu/tcg/riscv/tcg-target.c.inc
/openbmc/qemu/tcg/s390x/tcg-target.c.inc
/openbmc/qemu/tcg/sparc64/tcg-target.c.inc
/openbmc/qemu/tcg/tcg-op-ldst.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tests/data/uefi-boot-images/bios-tables-test.loongarch64.iso.qcow2
/openbmc/qemu/tests/functional/meson.build
/openbmc/qemu/tests/functional/test_arm_stellaris.py
/openbmc/qemu/tests/functional/test_m68k_q800.py
/openbmc/qemu/tests/functional/test_m68k_replay.py
/openbmc/qemu/tests/functional/test_mem_addr_space.py
/openbmc/qemu/tests/functional/test_microblaze_s3adsp1800.py
/openbmc/qemu/tests/functional/test_microblazeel_s3adsp1800.py
/openbmc/qemu/tests/functional/test_mips_malta.py
/openbmc/qemu/tests/functional/test_sparc64_tuxrun.py
/openbmc/qemu/tests/qemu-iotests/106
/openbmc/qemu/tests/qemu-iotests/125
/openbmc/qemu/tests/qemu-iotests/175
/openbmc/qemu/tests/qemu-iotests/221
/openbmc/qemu/tests/qemu-iotests/253
/openbmc/qemu/tests/qemu-iotests/308
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/tests/mirror-sparse
/openbmc/qemu/tests/qemu-iotests/tests/write-zeroes-unmap
/openbmc/qemu/tests/qtest/aspeed-hace-utils.c
/openbmc/qemu/tests/qtest/aspeed-hace-utils.h
/openbmc/qemu/tests/qtest/aspeed_hace-test.c
/openbmc/qemu/tests/qtest/aspeed_smc-test.c
/openbmc/qemu/tests/qtest/ast2700-hace-test.c
/openbmc/qemu/tests/qtest/ast2700-smc-test.c
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/qtest/migration/compression-tests.c
/openbmc/qemu/tests/qtest/migration/postcopy-tests.c
/openbmc/qemu/tests/qtest/migration/precopy-tests.c
/openbmc/qemu/tests/qtest/migration/tls-tests.c
/openbmc/qemu/tests/qtest/npcm_gmac-test.c
/openbmc/qemu/tests/qtest/qmp-cmd-test.c
/openbmc/qemu/tests/qtest/test-x86-cpuid-compat.c
/openbmc/qemu/tests/uefi-test-tools/Makefile
/openbmc/qemu/tests/uefi-test-tools/UefiTestToolsPkg/UefiTestToolsPkg.dsc
/openbmc/qemu/tests/uefi-test-tools/uefi-test-build.config
/openbmc/qemu/tests/unit/test-crypto-block.c
/openbmc/qemu/tests/unit/test-crypto-cipher.c
/openbmc/qemu/tests/unit/test-crypto-secret.c
/openbmc/qemu/tests/unit/test-util-sockets.c
/openbmc/qemu/ui/clipboard.c
/openbmc/qemu/ui/egl-helpers.c
/openbmc/qemu/ui/gtk-clipboard.c
/openbmc/qemu/ui/gtk-egl.c
/openbmc/qemu/ui/gtk-gl-area.c
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/qemu-pixman.c
/openbmc/qemu/ui/sdl2-gl.c
/openbmc/qemu/ui/sdl2.c
/openbmc/qemu/ui/vdagent.c
/openbmc/qemu/ui/vnc-enc-tight.c
/openbmc/qemu/ui/vnc-enc-zrle.c
/openbmc/qemu/ui/vnc-jobs.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/ui/vnc.h
/openbmc/qemu/util/qemu-sockets.c
aef5ac8620-May-2025 Zhao Liu <zhao1.liu@intel.com>

rust: Fix the typos in doc

These typos are found by "cargo spellcheck". Though it outputs a lot of
noise and false positives, there still are some real typos.

Signed-off-by: Zhao Liu <zhao1.liu@int

rust: Fix the typos in doc

These typos are found by "cargo spellcheck". Though it outputs a lot of
noise and false positives, there still are some real typos.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20250520152750.2542612-6-zhao1.liu@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

86c54a3a20-May-2025 Zhao Liu <zhao1.liu@intel.com>

rust: Fix Zhao's email address

No one could find Zhao Liu via zhai1.liu@intel.com.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20250520152750.2542612-5-zhao1.liu@i

rust: Fix Zhao's email address

No one could find Zhao Liu via zhai1.liu@intel.com.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20250520152750.2542612-5-zhao1.liu@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/openbmc/qemu/.gitlab-ci.d/buildtest-template.yml
/openbmc/qemu/.gitlab-ci.d/buildtest.yml
/openbmc/qemu/.gitlab-ci.d/container-cross.yml
/openbmc/qemu/.gitlab-ci.d/crossbuilds.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/hvf/hvf-accel-ops.c
/openbmc/qemu/accel/hvf/hvf-all.c
/openbmc/qemu/accel/stubs/hvf-stub.c
/openbmc/qemu/accel/stubs/meson.build
/openbmc/qemu/accel/tcg/cpu-exec.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/internal-common.h
/openbmc/qemu/accel/tcg/ldst_common.c.inc
/openbmc/qemu/accel/tcg/meson.build
/openbmc/qemu/accel/tcg/tb-hash.h
/openbmc/qemu/accel/tcg/tb-internal.h
/openbmc/qemu/accel/tcg/tb-maint.c
/openbmc/qemu/accel/tcg/tcg-all.c
/openbmc/qemu/accel/tcg/tlb-bounds.h
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/accel/tcg/user-exec.c
/openbmc/qemu/backends/meson.build
/openbmc/qemu/backends/vhost-user.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/copy-before-write.c
/openbmc/qemu/block/copy-before-write.h
/openbmc/qemu/block/coroutines.h
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/null.c
/openbmc/qemu/block/nvme.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/quorum.c
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/snapshot-access.c
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/bsd-user/qemu.h
/openbmc/qemu/bsd-user/signal.c
/openbmc/qemu/common-user/host/riscv/safe-syscall.inc.S
/openbmc/qemu/configs/meson/emscripten.txt
/openbmc/qemu/configure
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/about/removed-features.rst
/openbmc/qemu/docs/conf.py
/openbmc/qemu/docs/devel/build-system.rst
/openbmc/qemu/docs/devel/codebase.rst
/openbmc/qemu/docs/devel/rust.rst
/openbmc/qemu/docs/devel/testing/functional.rst
/openbmc/qemu/docs/igd-assign.txt
/openbmc/qemu/docs/system/devices/cxl.rst
/openbmc/qemu/docs/system/gdb.rst
/openbmc/qemu/docs/system/index.rst
/openbmc/qemu/docs/system/linuxboot.rst
/openbmc/qemu/docs/system/qemu-block-drivers.rst.inc
/openbmc/qemu/docs/system/riscv/microchip-icicle-kit.rst
/openbmc/qemu/docs/system/sriov.rst
/openbmc/qemu/docs/system/target-mips.rst
/openbmc/qemu/gdbstub/meson.build
/openbmc/qemu/hw/acpi/acpi-pci-hotplug-stub.c
/openbmc/qemu/hw/acpi/generic_event_device.c
/openbmc/qemu/hw/acpi/ich9.c
/openbmc/qemu/hw/acpi/pcihp.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/arm/meson.build
/openbmc/qemu/hw/arm/npcm8xx.c
/openbmc/qemu/hw/arm/npcm8xx_boards.c
/openbmc/qemu/hw/arm/omap1.c
/openbmc/qemu/hw/arm/omap_sx1.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/audio/cs4231a.c
/openbmc/qemu/hw/block/vhost-user-blk.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/char/virtio-serial-bus.c
/openbmc/qemu/hw/core/cpu-common.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/meson.build
/openbmc/qemu/hw/core/vm-change-state-handler.c
/openbmc/qemu/hw/cxl/cxl-device-utils.c
/openbmc/qemu/hw/cxl/cxl-mailbox-utils.c
/openbmc/qemu/hw/display/apple-gfx.m
/openbmc/qemu/hw/display/vhost-user-gpu.c
/openbmc/qemu/hw/display/virtio-gpu-udmabuf.c
/openbmc/qemu/hw/dma/omap_dma.c
/openbmc/qemu/hw/gpio/imx_gpio.c
/openbmc/qemu/hw/gpio/omap_gpio.c
/openbmc/qemu/hw/hyperv/hyperv.c
/openbmc/qemu/hw/hyperv/meson.build
/openbmc/qemu/hw/hyperv/syndbg.c
/openbmc/qemu/hw/hyperv/vmbus.c
/openbmc/qemu/hw/i2c/imx_i2c.c
/openbmc/qemu/hw/i2c/omap_i2c.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/acpi-build.h
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/amd_iommu.h
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/sgx-stub.c
/openbmc/qemu/hw/i386/sgx.c
/openbmc/qemu/hw/input/virtio-input.c
/openbmc/qemu/hw/intc/loongarch_extioi.c
/openbmc/qemu/hw/intc/loongarch_extioi_common.c
/openbmc/qemu/hw/intc/loongarch_ipi.c
/openbmc/qemu/hw/intc/loongarch_pch_pic.c
/openbmc/qemu/hw/intc/loongarch_pic_common.c
/openbmc/qemu/hw/intc/omap_intc.c
/openbmc/qemu/hw/intc/trace-events
/openbmc/qemu/hw/isa/lpc_ich9.c
/openbmc/qemu/hw/loongarch/boot.c
/openbmc/qemu/hw/loongarch/virt-acpi-build.c
/openbmc/qemu/hw/loongarch/virt.c
/openbmc/qemu/hw/mem/cxl_type3.c
/openbmc/qemu/hw/misc/mchp_pfsoc_sysreg.c
/openbmc/qemu/hw/misc/omap_clk.c
/openbmc/qemu/hw/misc/pci-testdev.c
/openbmc/qemu/hw/net/e1000x_regs.h
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/nvme/subsys.c
/openbmc/qemu/hw/pci-host/designware.c
/openbmc/qemu/hw/pci-host/gpex-acpi.c
/openbmc/qemu/hw/pci-host/gt64120.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pci_host.c
/openbmc/qemu/hw/pci/pcie_port.c
/openbmc/qemu/hw/pci/pcie_sriov.c
/openbmc/qemu/hw/pci/trace-events
/openbmc/qemu/hw/ppc/spapr_nested.c
/openbmc/qemu/hw/riscv/boot.c
/openbmc/qemu/hw/riscv/microchip_pfsoc.c
/openbmc/qemu/hw/riscv/riscv-iommu-sys.c
/openbmc/qemu/hw/riscv/riscv_hart.c
/openbmc/qemu/hw/riscv/virt-acpi-build.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/s390x/event-facility.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/scsi/scsi-bus.c
/openbmc/qemu/hw/scsi/vhost-scsi-common.c
/openbmc/qemu/hw/scsi/vhost-scsi.c
/openbmc/qemu/hw/scsi/vhost-user-scsi.c
/openbmc/qemu/hw/sh4/sh7750.c
/openbmc/qemu/hw/timer/hpet.c
/openbmc/qemu/hw/timer/pxa2xx_timer.c
/openbmc/qemu/hw/vfio/ap.c
/openbmc/qemu/hw/vfio/ccw.c
/openbmc/qemu/hw/vfio/container-base.c
/openbmc/qemu/hw/vfio/container.c
/openbmc/qemu/hw/vfio/device.c
/openbmc/qemu/hw/vfio/display.c
/openbmc/qemu/hw/vfio/igd.c
/openbmc/qemu/hw/vfio/iommufd.c
/openbmc/qemu/hw/vfio/listener.c
/openbmc/qemu/hw/vfio/migration.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/pci.h
/openbmc/qemu/hw/vfio/platform.c
/openbmc/qemu/hw/vfio/region.c
/openbmc/qemu/hw/virtio/vdpa-dev.c
/openbmc/qemu/hw/virtio/vhost-user-base.c
/openbmc/qemu/hw/virtio/vhost-user-fs.c
/openbmc/qemu/hw/virtio/vhost-user-scmi.c
/openbmc/qemu/hw/virtio/vhost-user-vsock.c
/openbmc/qemu/hw/virtio/vhost-vsock-common.c
/openbmc/qemu/hw/virtio/vhost-vsock.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-balloon.c
/openbmc/qemu/hw/virtio/virtio-crypto.c
/openbmc/qemu/hw/virtio/virtio-iommu.c
/openbmc/qemu/hw/virtio/virtio-net-pci.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio-rng.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/xen/xen-hvm-common.c
/openbmc/qemu/hw/xen/xen-mapcache.c
/openbmc/qemu/include/accel/tcg/cpu-ldst.h
/openbmc/qemu/include/accel/tcg/cpu-ops.h
/openbmc/qemu/include/accel/tcg/getpc.h
/openbmc/qemu/include/accel/tcg/helper-retaddr.h
/openbmc/qemu/include/accel/tcg/iommu.h
/openbmc/qemu/include/accel/tcg/probe.h
/openbmc/qemu/include/accel/tcg/tb-cpu-state.h
/openbmc/qemu/include/block/block-common.h
/openbmc/qemu/include/block/block-io.h
/openbmc/qemu/include/block/block_int-common.h
/openbmc/qemu/include/block/block_int-global-state.h
/openbmc/qemu/include/block/block_int-io.h
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/helper-head.h.inc
/openbmc/qemu/include/exec/helper-proto-common.h
/openbmc/qemu/include/exec/poison.h
/openbmc/qemu/include/exec/translation-block.h
/openbmc/qemu/include/glib-compat.h
/openbmc/qemu/include/hw/acpi/pcihp.h
/openbmc/qemu/include/hw/arm/npcm8xx.h
/openbmc/qemu/include/hw/arm/omap.h
/openbmc/qemu/include/hw/arm/sharpsl.h
/openbmc/qemu/include/hw/arm/soc_dma.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/cxl/cxl_device.h
/openbmc/qemu/include/hw/cxl/cxl_mailbox.h
/openbmc/qemu/include/hw/dma/xlnx_dpdma.h
/openbmc/qemu/include/hw/hyperv/hyperv.h
/openbmc/qemu/include/hw/intc/loongarch_extioi.h
/openbmc/qemu/include/hw/intc/loongarch_extioi_common.h
/openbmc/qemu/include/hw/intc/loongarch_ipi.h
/openbmc/qemu/include/hw/intc/loongarch_pch_pic.h
/openbmc/qemu/include/hw/intc/loongarch_pic_common.h
/openbmc/qemu/include/hw/pci-host/dino.h
/openbmc/qemu/include/hw/pci/pci_device.h
/openbmc/qemu/include/hw/pci/pci_host.h
/openbmc/qemu/include/hw/pci/pcie_sriov.h
/openbmc/qemu/include/hw/riscv/microchip_pfsoc.h
/openbmc/qemu/include/hw/riscv/virt.h
/openbmc/qemu/include/hw/s390x/s390-virtio-ccw.h
/openbmc/qemu/include/hw/vfio/vfio-container-base.h
/openbmc/qemu/include/hw/vfio/vfio-device.h
/openbmc/qemu/include/hw/virtio/vhost-scsi-common.h
/openbmc/qemu/include/hw/virtio/vhost-vsock-common.h
/openbmc/qemu/include/hw/virtio/vhost.h
/openbmc/qemu/include/hw/virtio/virtio-pci.h
/openbmc/qemu/include/hw/virtio/virtio.h
/openbmc/qemu/include/hw/xen/interface/io/blkif.h
/openbmc/qemu/include/qemu/cacheflush.h
/openbmc/qemu/include/qemu/host-pci-mmio.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/s390x_pci_mmio.h
/openbmc/qemu/include/qemu/target-info-impl.h
/openbmc/qemu/include/qemu/target-info.h
/openbmc/qemu/include/qom/object.h
/openbmc/qemu/include/standard-headers/asm-x86/setup_data.h
/openbmc/qemu/include/standard-headers/drm/drm_fourcc.h
/openbmc/qemu/include/standard-headers/linux/const.h
/openbmc/qemu/include/standard-headers/linux/ethtool.h
/openbmc/qemu/include/standard-headers/linux/fuse.h
/openbmc/qemu/include/standard-headers/linux/pci_regs.h
/openbmc/qemu/include/standard-headers/linux/virtio_net.h
/openbmc/qemu/include/standard-headers/linux/virtio_snd.h
/openbmc/qemu/include/system/hvf.h
/openbmc/qemu/include/system/hvf_int.h
/openbmc/qemu/include/system/os-wasm.h
/openbmc/qemu/include/system/ram_addr.h
/openbmc/qemu/include/system/runstate.h
/openbmc/qemu/include/system/vhost-user-backend.h
/openbmc/qemu/include/tcg/insn-start-words.h
/openbmc/qemu/include/tcg/tcg-op-common.h
/openbmc/qemu/include/tcg/tcg-op.h
/openbmc/qemu/include/tcg/tcg-opc.h
/openbmc/qemu/include/tcg/tcg.h
/openbmc/qemu/include/ui/dmabuf.h
/openbmc/qemu/include/ui/egl-helpers.h
/openbmc/qemu/include/user/cpu_loop.h
/openbmc/qemu/include/user/guest-host.h
/openbmc/qemu/include/user/page-protection.h
/openbmc/qemu/linux-headers/asm-arm64/kvm.h
/openbmc/qemu/linux-headers/asm-arm64/unistd_64.h
/openbmc/qemu/linux-headers/asm-generic/mman-common.h
/openbmc/qemu/linux-headers/asm-generic/unistd.h
/openbmc/qemu/linux-headers/asm-loongarch/unistd_64.h
/openbmc/qemu/linux-headers/asm-mips/unistd_n32.h
/openbmc/qemu/linux-headers/asm-mips/unistd_n64.h
/openbmc/qemu/linux-headers/asm-mips/unistd_o32.h
/openbmc/qemu/linux-headers/asm-powerpc/unistd_32.h
/openbmc/qemu/linux-headers/asm-powerpc/unistd_64.h
/openbmc/qemu/linux-headers/asm-riscv/kvm.h
/openbmc/qemu/linux-headers/asm-riscv/unistd_32.h
/openbmc/qemu/linux-headers/asm-riscv/unistd_64.h
/openbmc/qemu/linux-headers/asm-s390/unistd_32.h
/openbmc/qemu/linux-headers/asm-s390/unistd_64.h
/openbmc/qemu/linux-headers/asm-x86/kvm.h
/openbmc/qemu/linux-headers/asm-x86/unistd_32.h
/openbmc/qemu/linux-headers/asm-x86/unistd_64.h
/openbmc/qemu/linux-headers/asm-x86/unistd_x32.h
/openbmc/qemu/linux-headers/linux/bits.h
/openbmc/qemu/linux-headers/linux/const.h
/openbmc/qemu/linux-headers/linux/iommufd.h
/openbmc/qemu/linux-headers/linux/kvm.h
/openbmc/qemu/linux-headers/linux/psp-sev.h
/openbmc/qemu/linux-headers/linux/stddef.h
/openbmc/qemu/linux-headers/linux/vfio.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/mmap.c
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/user-internals.h
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/os-wasm.c
/openbmc/qemu/plugins/meson.build
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/job.json
/openbmc/qemu/qapi/machine-target.json
/openbmc/qemu/qapi/misc-target.json
/openbmc/qemu/qapi/qom.json
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qom/object.c
/openbmc/qemu/qom/qom-qmp-cmds.c
/openbmc/qemu/rust/Cargo.toml
/openbmc/qemu/rust/clippy.toml
/openbmc/qemu/rust/hw/char/pl011/src/device.rs
/openbmc/qemu/rust/hw/char/pl011/src/registers.rs
/openbmc/qemu/rust/hw/timer/hpet/src/fw_cfg.rs
/openbmc/qemu/rust/hw/timer/hpet/src/hpet.rs
/openbmc/qemu/rust/hw/timer/hpet/src/lib.rs
/openbmc/qemu/rust/qemu-api-macros/src/lib.rs
/openbmc/qemu/rust/qemu-api/build.rs
bitops.rs
timer.rs
/openbmc/qemu/rust/qemu-api/tests/vmstate_tests.rs
/openbmc/qemu/scripts/meson-buildoptions.sh
/openbmc/qemu/scripts/modinfo-collect.py
/openbmc/qemu/scripts/update-linux-headers.sh
/openbmc/qemu/semihosting/uaccess.c
/openbmc/qemu/system/cpus.c
/openbmc/qemu/system/memory.c
/openbmc/qemu/system/meson.build
/openbmc/qemu/system/physmem.c
/openbmc/qemu/system/runstate.c
/openbmc/qemu/system/vl.c
/openbmc/qemu/target-info-stub.c
/openbmc/qemu/target-info.c
/openbmc/qemu/target/alpha/cpu.c
/openbmc/qemu/target/alpha/cpu.h
/openbmc/qemu/target/alpha/fpu_helper.c
/openbmc/qemu/target/alpha/int_helper.c
/openbmc/qemu/target/alpha/machine.c
/openbmc/qemu/target/alpha/mem_helper.c
/openbmc/qemu/target/alpha/translate.c
/openbmc/qemu/target/alpha/vax_helper.c
/openbmc/qemu/target/arm/arch_dump.c
/openbmc/qemu/target/arm/arm-qmp-cmds.c
/openbmc/qemu/target/arm/cpu-param.h
/openbmc/qemu/target/arm/cpu-qom.h
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu32-stubs.c
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/debug_helper.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/helper.h
/openbmc/qemu/target/arm/hvf/hvf.c
/openbmc/qemu/target/arm/hyp_gdbstub.c
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/kvm-stub.c
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/kvm_arm.h
/openbmc/qemu/target/arm/machine.c
/openbmc/qemu/target/arm/meson.build
/openbmc/qemu/target/arm/ptw.c
/openbmc/qemu/target/arm/tcg-stubs.c
/openbmc/qemu/target/arm/tcg/arith_helper.c
/openbmc/qemu/target/arm/tcg/cpu-v7m.c
/openbmc/qemu/target/arm/tcg/cpu64.c
/openbmc/qemu/target/arm/tcg/crypto_helper.c
/openbmc/qemu/target/arm/tcg/helper-a64.c
/openbmc/qemu/target/arm/tcg/helper.h
/openbmc/qemu/target/arm/tcg/hflags.c
/openbmc/qemu/target/arm/tcg/iwmmxt_helper.c
/openbmc/qemu/target/arm/tcg/m_helper.c
/openbmc/qemu/target/arm/tcg/meson.build
/openbmc/qemu/target/arm/tcg/mte_helper.c
/openbmc/qemu/target/arm/tcg/mve_helper.c
/openbmc/qemu/target/arm/tcg/neon_helper.c
/openbmc/qemu/target/arm/tcg/op_helper.c
/openbmc/qemu/target/arm/tcg/pauth_helper.c
/openbmc/qemu/target/arm/tcg/sme_helper.c
/openbmc/qemu/target/arm/tcg/sve_helper.c
/openbmc/qemu/target/arm/tcg/tlb-insns.c
/openbmc/qemu/target/arm/tcg/tlb_helper.c
/openbmc/qemu/target/arm/tcg/translate-a64.c
/openbmc/qemu/target/arm/tcg/translate.c
/openbmc/qemu/target/arm/tcg/translate.h
/openbmc/qemu/target/arm/tcg/vec_internal.h
/openbmc/qemu/target/arm/tcg/vfp_helper.c
/openbmc/qemu/target/avr/cpu.c
/openbmc/qemu/target/avr/cpu.h
/openbmc/qemu/target/avr/helper.c
/openbmc/qemu/target/avr/translate.c
/openbmc/qemu/target/hexagon/cpu.c
/openbmc/qemu/target/hexagon/cpu.h
/openbmc/qemu/target/hexagon/mmvec/macros.h
/openbmc/qemu/target/hexagon/op_helper.c
/openbmc/qemu/target/hppa/cpu.c
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/hppa/fpu_helper.c
/openbmc/qemu/target/hppa/helper.c
/openbmc/qemu/target/hppa/machine.c
/openbmc/qemu/target/hppa/mem_helper.c
/openbmc/qemu/target/hppa/op_helper.c
/openbmc/qemu/target/hppa/sys_helper.c
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/emulate/x86_decode.c
/openbmc/qemu/target/i386/emulate/x86_decode.h
/openbmc/qemu/target/i386/emulate/x86_emu.c
/openbmc/qemu/target/i386/emulate/x86_emu.h
/openbmc/qemu/target/i386/emulate/x86_flags.c
/openbmc/qemu/target/i386/emulate/x86_flags.h
/openbmc/qemu/target/i386/helper.c
/openbmc/qemu/target/i386/hvf/x86_cpuid.c
/openbmc/qemu/target/i386/tcg/access.c
/openbmc/qemu/target/i386/tcg/decode-new.c.inc
/openbmc/qemu/target/i386/tcg/excp_helper.c
/openbmc/qemu/target/i386/tcg/helper-tcg.h
/openbmc/qemu/target/i386/tcg/int_helper.c
/openbmc/qemu/target/i386/tcg/mem_helper.c
/openbmc/qemu/target/i386/tcg/mpx_helper.c
/openbmc/qemu/target/i386/tcg/seg_helper.c
/openbmc/qemu/target/i386/tcg/system/bpt_helper.c
/openbmc/qemu/target/i386/tcg/system/excp_helper.c
/openbmc/qemu/target/i386/tcg/tcg-cpu.c
/openbmc/qemu/target/i386/tcg/translate.c
/openbmc/qemu/target/i386/tcg/user/excp_helper.c
/openbmc/qemu/target/i386/tcg/user/seg_helper.c
/openbmc/qemu/target/loongarch/cpu.c
/openbmc/qemu/target/loongarch/cpu.h
/openbmc/qemu/target/loongarch/tcg/fpu_helper.c
/openbmc/qemu/target/loongarch/tcg/iocsr_helper.c
/openbmc/qemu/target/loongarch/tcg/op_helper.c
/openbmc/qemu/target/loongarch/tcg/tlb_helper.c
/openbmc/qemu/target/loongarch/tcg/vec_helper.c
/openbmc/qemu/target/m68k/cpu.c
/openbmc/qemu/target/m68k/cpu.h
/openbmc/qemu/target/m68k/fpu_helper.c
/openbmc/qemu/target/m68k/helper.c
/openbmc/qemu/target/m68k/op_helper.c
/openbmc/qemu/target/m68k/translate.c
/openbmc/qemu/target/microblaze/cpu.c
/openbmc/qemu/target/microblaze/cpu.h
/openbmc/qemu/target/microblaze/machine.c
/openbmc/qemu/target/microblaze/op_helper.c
/openbmc/qemu/target/microblaze/translate.c
/openbmc/qemu/target/mips/cpu.c
/openbmc/qemu/target/mips/cpu.h
/openbmc/qemu/target/mips/system/physaddr.c
/openbmc/qemu/target/mips/tcg/exception.c
/openbmc/qemu/target/mips/tcg/fpu_helper.c
/openbmc/qemu/target/mips/tcg/ldst_helper.c
/openbmc/qemu/target/mips/tcg/msa_helper.c
/openbmc/qemu/target/mips/tcg/op_helper.c
/openbmc/qemu/target/mips/tcg/system/special_helper.c
/openbmc/qemu/target/mips/tcg/system/tlb_helper.c
/openbmc/qemu/target/openrisc/cpu.c
/openbmc/qemu/target/openrisc/cpu.h
/openbmc/qemu/target/openrisc/exception.c
/openbmc/qemu/target/openrisc/exception_helper.c
/openbmc/qemu/target/openrisc/fpu_helper.c
/openbmc/qemu/target/openrisc/interrupt.c
/openbmc/qemu/target/openrisc/interrupt_helper.c
/openbmc/qemu/target/openrisc/machine.c
/openbmc/qemu/target/openrisc/sys_helper.c
/openbmc/qemu/target/openrisc/translate.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/cpu_init.c
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/fpu_helper.c
/openbmc/qemu/target/ppc/helper_regs.c
/openbmc/qemu/target/ppc/internal.h
/openbmc/qemu/target/ppc/machine.c
/openbmc/qemu/target/ppc/mem_helper.c
/openbmc/qemu/target/ppc/misc_helper.c
/openbmc/qemu/target/ppc/mmu-hash32.c
/openbmc/qemu/target/ppc/mmu-hash64.c
/openbmc/qemu/target/ppc/mmu-radix64.c
/openbmc/qemu/target/ppc/mmu_common.c
/openbmc/qemu/target/ppc/mmu_helper.c
/openbmc/qemu/target/ppc/power8-pmu.c
/openbmc/qemu/target/ppc/tcg-excp_helper.c
/openbmc/qemu/target/ppc/timebase_helper.c
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/user_only_helper.c
/openbmc/qemu/target/riscv/cpu-qom.h
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/cpu_cfg.h
/openbmc/qemu/target/riscv/cpu_cfg_fields.h.inc
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/riscv/crypto_helper.c
/openbmc/qemu/target/riscv/csr.c
/openbmc/qemu/target/riscv/debug.c
/openbmc/qemu/target/riscv/fpu_helper.c
/openbmc/qemu/target/riscv/gdbstub.c
/openbmc/qemu/target/riscv/insn32.decode
/openbmc/qemu/target/riscv/insn_trans/trans_rvbf16.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvv.c.inc
/openbmc/qemu/target/riscv/internals.h
/openbmc/qemu/target/riscv/kvm/kvm-cpu.c
/openbmc/qemu/target/riscv/m128_helper.c
/openbmc/qemu/target/riscv/machine.c
/openbmc/qemu/target/riscv/op_helper.c
/openbmc/qemu/target/riscv/pmp.c
/openbmc/qemu/target/riscv/tcg/tcg-cpu.c
/openbmc/qemu/target/riscv/th_csr.c
/openbmc/qemu/target/riscv/translate.c
/openbmc/qemu/target/riscv/vcrypto_helper.c
/openbmc/qemu/target/riscv/vector_helper.c
/openbmc/qemu/target/riscv/zce_helper.c
/openbmc/qemu/target/rx/cpu.c
/openbmc/qemu/target/rx/cpu.h
/openbmc/qemu/target/rx/op_helper.c
/openbmc/qemu/target/rx/translate.c
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/gen-features.c
/openbmc/qemu/target/s390x/interrupt.c
/openbmc/qemu/target/s390x/kvm/kvm.c
/openbmc/qemu/target/s390x/mmu_helper.c
/openbmc/qemu/target/s390x/sigp.c
/openbmc/qemu/target/s390x/tcg/cc_helper.c
/openbmc/qemu/target/s390x/tcg/crypto_helper.c
/openbmc/qemu/target/s390x/tcg/excp_helper.c
/openbmc/qemu/target/s390x/tcg/fpu_helper.c
/openbmc/qemu/target/s390x/tcg/int_helper.c
/openbmc/qemu/target/s390x/tcg/mem_helper.c
/openbmc/qemu/target/s390x/tcg/misc_helper.c
/openbmc/qemu/target/s390x/tcg/translate.c
/openbmc/qemu/target/s390x/tcg/vec_fpu_helper.c
/openbmc/qemu/target/s390x/tcg/vec_helper.c
/openbmc/qemu/target/sh4/cpu.c
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sh4/helper.c
/openbmc/qemu/target/sh4/op_helper.c
/openbmc/qemu/target/sh4/translate.c
/openbmc/qemu/target/sparc/cpu.c
/openbmc/qemu/target/sparc/cpu.h
/openbmc/qemu/target/sparc/fop_helper.c
/openbmc/qemu/target/sparc/helper.c
/openbmc/qemu/target/sparc/ldst_helper.c
/openbmc/qemu/target/sparc/machine.c
/openbmc/qemu/target/sparc/translate.c
/openbmc/qemu/target/sparc/win_helper.c
/openbmc/qemu/target/tricore/cpu.c
/openbmc/qemu/target/tricore/cpu.h
/openbmc/qemu/target/tricore/op_helper.c
/openbmc/qemu/target/tricore/translate.c
/openbmc/qemu/target/xtensa/cpu.c
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/dbg_helper.c
/openbmc/qemu/target/xtensa/exc_helper.c
/openbmc/qemu/target/xtensa/fpu_helper.c
/openbmc/qemu/target/xtensa/mmu_helper.c
/openbmc/qemu/target/xtensa/op_helper.c
/openbmc/qemu/target/xtensa/translate.c
/openbmc/qemu/target/xtensa/win_helper.c
/openbmc/qemu/tcg/meson.build
/openbmc/qemu/tcg/perf.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tests/docker/dockerfiles/emsdk-wasm32-cross.docker
/openbmc/qemu/tests/functional/meson.build
/openbmc/qemu/tests/functional/test_aarch64_imx8mp_evk.py
/openbmc/qemu/tests/functional/test_arm_integratorcp.py
/openbmc/qemu/tests/functional/test_hppa_seabios.py
/openbmc/qemu/tests/functional/test_m68k_nextcube.py
/openbmc/qemu/tests/functional/test_mips64el_malta.py
/openbmc/qemu/tests/functional/test_s390x_tuxrun.py
/openbmc/qemu/tests/qemu-iotests/194
/openbmc/qemu/tests/qemu-iotests/194.out
/openbmc/qemu/tests/qemu-iotests/250
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qemu-iotests/tests/commit-zero-blocks
/openbmc/qemu/tests/qemu-iotests/tests/commit-zero-blocks.out
/openbmc/qemu/tests/qemu-iotests/tests/copy-before-write
/openbmc/qemu/tests/qemu-iotests/tests/copy-before-write.out
/openbmc/qemu/tests/qemu-iotests/tests/mirror-sparse
/openbmc/qemu/tests/qemu-iotests/tests/mirror-sparse.out
/openbmc/qemu/tests/qtest/cpu-plug-test.c
/openbmc/qemu/tests/qtest/libqos/virtio.c
/openbmc/qemu/tests/qtest/libqtest.c
/openbmc/qemu/tests/qtest/libqtest.h
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/qtest/migration/framework.c
/openbmc/qemu/tests/qtest/q35-test.c
/openbmc/qemu/tests/tcg/loongarch64/system/kernel.ld
/openbmc/qemu/tests/unit/test-block-iothread.c
/openbmc/qemu/ui/dbus-display1.xml
/openbmc/qemu/ui/dbus-listener.c
/openbmc/qemu/ui/dmabuf.c
/openbmc/qemu/ui/egl-helpers.c
/openbmc/qemu/ui/meson.build
/openbmc/qemu/ui/spice-display.c
/openbmc/qemu/util/cacheflush.c
/openbmc/qemu/util/coroutine-wasm.c
/openbmc/qemu/util/meson.build
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/util/s390x_pci_mmio.c
f117857b02-May-2025 Paolo Bonzini <pbonzini@redhat.com>

rust: replace c_str! with c"" literals

Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

b134a09f02-May-2025 Paolo Bonzini <pbonzini@redhat.com>

rust: remove offset_of replacement

Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

5df3fe0614-Feb-2025 Paolo Bonzini <pbonzini@redhat.com>

rust: enable clippy::ptr_cast_constness

Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.co

rust: enable clippy::ptr_cast_constness

Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

3a1c694d02-May-2025 Paolo Bonzini <pbonzini@redhat.com>

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

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 <manos.pitsidianakis@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

0823837202-May-2025 Paolo Bonzini <pbonzini@redhat.com>

rust: use MaybeUninit::zeroed() in const context

Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@

rust: use MaybeUninit::zeroed() in const context

Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

e4fb0be102-May-2025 Paolo Bonzini <pbonzini@redhat.com>

rust: use std::ffi instead of std::os::raw

This is allowed since Rust 1.64.0.

Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-of

rust: use std::ffi instead of std::os::raw

This is allowed since Rust 1.64.0.

Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/configure
/openbmc/qemu/docs/about/build-platforms.rst
/openbmc/qemu/docs/devel/build-environment.rst
/openbmc/qemu/docs/devel/rust.rst
/openbmc/qemu/docs/system/arm/aspeed.rst
/openbmc/qemu/fsdev/file-op-9p.h
/openbmc/qemu/hw/9pfs/9p-local.c
/openbmc/qemu/hw/9pfs/9p-synth.c
/openbmc/qemu/hw/9pfs/9p-util.h
/openbmc/qemu/hw/9pfs/9p.c
/openbmc/qemu/hw/9pfs/9p.h
/openbmc/qemu/hw/9pfs/codir.c
/openbmc/qemu/hw/9pfs/cofile.c
/openbmc/qemu/hw/9pfs/cofs.c
/openbmc/qemu/hw/9pfs/coth.h
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_ast27x0-fc.c
/openbmc/qemu/hw/arm/aspeed_ast27x0-ssp.c
/openbmc/qemu/hw/arm/aspeed_ast27x0-tsp.c
/openbmc/qemu/hw/arm/aspeed_ast27x0.c
/openbmc/qemu/hw/arm/meson.build
/openbmc/qemu/hw/char/diva-gsp.c
/openbmc/qemu/hw/char/serial-pci-multi.c
/openbmc/qemu/hw/char/serial-pci.c
/openbmc/qemu/hw/intc/aspeed_intc.c
/openbmc/qemu/hw/rtc/mc146818rtc.c
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/ipl.h
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/ssi/aspeed_smc.c
/openbmc/qemu/include/hw/arm/aspeed.h
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/intc/aspeed_intc.h
/openbmc/qemu/include/migration/register.h
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/multifd.c
/openbmc/qemu/migration/multifd.h
/openbmc/qemu/migration/options.c
/openbmc/qemu/migration/options.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/rdma.h
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/savevm.h
/openbmc/qemu/monitor/qmp.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/ast27x0_bootrom.bin
/openbmc/qemu/pc-bios/meson.build
/openbmc/qemu/python/Makefile
/openbmc/qemu/python/setup.cfg
/openbmc/qemu/python/tests/minreqs.txt
/openbmc/qemu/rust/Cargo.toml
/openbmc/qemu/rust/clippy.toml
/openbmc/qemu/rust/hw/char/pl011/Cargo.toml
/openbmc/qemu/rust/hw/char/pl011/src/device_class.rs
/openbmc/qemu/rust/hw/timer/hpet/Cargo.toml
/openbmc/qemu/rust/hw/timer/hpet/src/hpet.rs
/openbmc/qemu/rust/qemu-api-macros/Cargo.toml
/openbmc/qemu/rust/qemu-api/Cargo.toml
chardev.rs
irq.rs
lib.rs
memory.rs
qdev.rs
qom.rs
timer.rs
vmstate.rs
/openbmc/qemu/rust/qemu-api/tests/vmstate_tests.rs
/openbmc/qemu/scripts/ci/setup/ubuntu/ubuntu-2204-aarch64.yaml
/openbmc/qemu/scripts/ci/setup/ubuntu/ubuntu-2204-s390x.yaml
/openbmc/qemu/scripts/meson-buildoptions.sh
/openbmc/qemu/scripts/qapi/mypy.ini
/openbmc/qemu/scripts/rdma-migration-helper.sh
/openbmc/qemu/scripts/vmstate-static-checker.py
/openbmc/qemu/target/i386/emulate/x86_decode.c
/openbmc/qemu/target/i386/hvf/hvf.c
/openbmc/qemu/target/i386/tcg/emit.c.inc
/openbmc/qemu/target/i386/tcg/translate.c
/openbmc/qemu/target/s390x/kvm/pv.c
/openbmc/qemu/target/s390x/kvm/pv.h
/openbmc/qemu/tests/docker/dockerfiles/debian-amd64-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-arm64-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-armhf-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-i686-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-mips64el-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-mipsel-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-ppc64el-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian.docker
/openbmc/qemu/tests/docker/dockerfiles/python.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu2204.docker
/openbmc/qemu/tests/functional/meson.build
/openbmc/qemu/tests/functional/test_aarch64_aspeed_ast2700.py
/openbmc/qemu/tests/functional/test_aarch64_aspeed_ast2700fc.py
/openbmc/qemu/tests/functional/test_arm_aspeed_ast1030.py
/openbmc/qemu/tests/functional/test_arm_aspeed_ast2500.py
/openbmc/qemu/tests/functional/test_arm_aspeed_ast2600.py
/openbmc/qemu/tests/functional/test_ppc64_pseries.py
/openbmc/qemu/tests/lcitool/mappings.yml
/openbmc/qemu/tests/lcitool/refresh
/openbmc/qemu/tests/qtest/libqos/virtio-9p-client.c
/openbmc/qemu/tests/qtest/libqos/virtio-9p-client.h
/openbmc/qemu/tests/qtest/migration/compression-tests.c
/openbmc/qemu/tests/qtest/migration/cpr-tests.c
/openbmc/qemu/tests/qtest/migration/file-tests.c
/openbmc/qemu/tests/qtest/migration/framework.c
/openbmc/qemu/tests/qtest/migration/framework.h
/openbmc/qemu/tests/qtest/migration/misc-tests.c
/openbmc/qemu/tests/qtest/migration/postcopy-tests.c
/openbmc/qemu/tests/qtest/migration/precopy-tests.c
/openbmc/qemu/tests/qtest/migration/tls-tests.c
/openbmc/qemu/tests/qtest/virtio-9p-test.c
8d9502b414-Apr-2025 Zhao Liu <zhao1.liu@intel.com>

rust/timer: Define NANOSECONDS_PER_SECOND binding as u64

NANOSECONDS_PER_SECOND is often used in operations with get_ns(), which
currently returns a u64.

Therefore, define a new NANOSECONDS_PER_SEC

rust/timer: Define NANOSECONDS_PER_SECOND binding as u64

NANOSECONDS_PER_SECOND is often used in operations with get_ns(), which
currently returns a u64.

Therefore, define a new NANOSECONDS_PER_SECOND binding is with u64 type
to eliminate unnecessary type conversions (from u32 to u64).

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20250414144943.1112885-6-zhao1.liu@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

fff99a8802-May-2025 Paolo Bonzini <pbonzini@redhat.com>

rust: assertions: Support index field wrapped in BqlCell

Currently, if the `num` field of a varray is not a numeric type, such as
being placed in a wrapper, the array variant of assert_field_type wi

rust: assertions: Support index field wrapped in BqlCell

Currently, if the `num` field of a varray is not a numeric type, such as
being placed in a wrapper, the array variant of assert_field_type will
fail the check.

HPET currently wraps num_timers in BqlCell<>. Although BqlCell<> is not
necessary from strictly speaking, it makes sense for vmstate to respect
BqlCell.

The failure of assert_field_type is because it cannot convert BqlCell<T>
into usize for use as the index. Use a constant 0 instead for the index,
by avoiding $(...)? and extracting the common parts of
assert_field_type! into an internal case.

Commit message based on a patch by Zhao Liu <zhao1.liu@intel.com>.

Link: https://lore.kernel.org/r/20250414144943.1112885-3-zhao1.liu@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

756ea88f02-May-2025 Paolo Bonzini <pbonzini@redhat.com>

vmstate: support varray for vmstate_clock!

Make vmstate_struct and vmstate_clock more similar; they are basically the
same thing, except for the clock case having a built-in VMStateDescription.

Sig

vmstate: support varray for vmstate_clock!

Make vmstate_struct and vmstate_clock more similar; they are basically the
same thing, except for the clock case having a built-in VMStateDescription.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

123456