Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 5c73d01fb30ba89f77076cac96feed683aeae2a5
https://github.com/qemu/qemu/commit/5c73d01fb30ba89f77076cac96feed683aeae2a5
Author: Song Gao <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M include/hw/loongarch/virt.h
M target/loongarch/cpu.h
Log Message:
-----------
target/loongarch: move some machine define to virt.h
move some machine define to virt.h
Signed-off-by: Song Gao <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>
Message-ID: <[email protected]>
Commit: 6d085b81451eed7d9dc4f61ed148e8a6d9e2e34c
https://github.com/qemu/qemu/commit/6d085b81451eed7d9dc4f61ed148e8a6d9e2e34c
Author: Song Gao <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/loongarch/virt.c
M include/hw/loongarch/virt.h
M target/loongarch/cpu.c
M target/loongarch/cpu.h
Log Message:
-----------
hw/loongarch: add virt feature dmsi support
dmsi feature is added in LoongArchVirtMachinState, and it is used
to check whether virt machine supports the directy Message-Interrupts.
and by default set dmsi with ON_OFF_AUTO_AUTO.
LoongArchVirtMachineState adds misc_feature and misc_status for misc
features and status. and set the default dintc feature bit.
Msgint feature is added in LoongArchCPU, and it is used to check
whether th cpu supports the Message-Interrupts and by default set
mesgint with ON_OFF_AUTO_AUTO.
Signed-off-by: Song Gao <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>
Message-ID: <[email protected]>
Commit: fd9bcf85ebebbfb71c622f43705177932ac54983
https://github.com/qemu/qemu/commit/fd9bcf85ebebbfb71c622f43705177932ac54983
Author: Song Gao <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/loongarch/virt.c
Log Message:
-----------
hw/loongarch: add misc register support dmsi
Add feature register and misc register for dmsi feature checking and
setting
Signed-off-by: Song Gao <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>
Message-ID: <[email protected]>
Commit: 4882267c91c4aac96fc1f9acee8b2bc9603f761b
https://github.com/qemu/qemu/commit/4882267c91c4aac96fc1f9acee8b2bc9603f761b
Author: Song Gao <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/intc/Kconfig
A hw/intc/loongarch_dintc.c
M hw/intc/meson.build
M hw/loongarch/Kconfig
A include/hw/intc/loongarch_dintc.h
Log Message:
-----------
loongarch: add a direct interrupt controller device
Add Loongarch direct interrupt controller device base Definition.
Signed-off-by: Song Gao <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>
Message-ID: <[email protected]>
Commit: f6c40221e31dbc3b6ea15e53aa47958f97ad2554
https://github.com/qemu/qemu/commit/f6c40221e31dbc3b6ea15e53aa47958f97ad2554
Author: Song Gao <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M target/loongarch/cpu-csr.h
M target/loongarch/cpu.h
M target/loongarch/machine.c
Log Message:
-----------
target/loongarch: add msg interrupt CSR registers
include CSR_MSGIS0-3, CSR_MSGIR and CSR_MSGIE.
Reviewed-by: Bibo Mao <[email protected]>
Signed-off-by: Song Gao <[email protected]>
Message-ID: <[email protected]>
Commit: c21d64428a12b552256140c6f19a5c046f46264d
https://github.com/qemu/qemu/commit/c21d64428a12b552256140c6f19a5c046f46264d
Author: Song Gao <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/intc/loongarch_dintc.c
M hw/loongarch/virt.c
M include/hw/intc/loongarch_dintc.h
M include/hw/loongarch/virt.h
M include/hw/pci-host/ls7a.h
Log Message:
-----------
hw/loongarch: DINTC add a MemoryRegion
the DINTC use [2fe00000-2ff00000) Memory.
Signed-off-by: Song Gao <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>
Message-ID: <[email protected]>
Commit: b35fbb2aee266474d8129b7755722eaed0335fad
https://github.com/qemu/qemu/commit/b35fbb2aee266474d8129b7755722eaed0335fad
Author: Song Gao <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/intc/loongarch_dintc.c
M target/loongarch/cpu.h
Log Message:
-----------
hw/loongarch: Implement dintc realize and unrealize
Implement th DINTC realize and unrealize.
Signed-off-by: Song Gao <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>
Message-ID: <[email protected]>
Commit: 01ba888e65f11c566efc9ab1d788079617a2116b
https://github.com/qemu/qemu/commit/01ba888e65f11c566efc9ab1d788079617a2116b
Author: Song Gao <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/intc/loongarch_dintc.c
Log Message:
-----------
hw/loongarch: Implement dintc set irq
Implement dintc set irq and update CSR_MSGIS.
Reviewed-by: Bibo Mao <[email protected]>
Signed-off-by: Song Gao <[email protected]>
Message-ID: <[email protected]>
Commit: 002cc8db6a412d6f48f79e736516d12a3f3017dc
https://github.com/qemu/qemu/commit/002cc8db6a412d6f48f79e736516d12a3f3017dc
Author: Song Gao <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M target/loongarch/cpu-csr.h
Log Message:
-----------
target/loongarch: Add CSR_ESTAT.bit15 and CSR_ECFG.bit15 for msg interrupts.
Add CSR_ESTAT.bit15 and CSR_ECFG.bit15 for DINTC irq.
Reviewed-by: Bibo Mao <[email protected]>
Signed-off-by: Song Gao <[email protected]>
Message-ID: <[email protected]>
Commit: c5071d031fe755e5c1cde267cace1ace9f7e0f8e
https://github.com/qemu/qemu/commit/c5071d031fe755e5c1cde267cace1ace9f7e0f8e
Author: Song Gao <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M target/loongarch/csr.c
M target/loongarch/tcg/csr_helper.c
M target/loongarch/tcg/helper.h
M target/loongarch/tcg/insn_trans/trans_privileged.c.inc
Log Message:
-----------
target/loongarch:Implement csrrd CSR_MSGIR register
implement the read-clear feature for CSR_MSGIR register.
Reviewed-by: Bibo Mao <[email protected]>
Signed-off-by: Song Gao <[email protected]>
Message-ID: <[email protected]>
Commit: 74a07cd3234184aaac441c13c2acb160d873becc
https://github.com/qemu/qemu/commit/74a07cd3234184aaac441c13c2acb160d873becc
Author: Song Gao <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/intc/loongarch_dintc.c
M hw/loongarch/virt.c
Log Message:
-----------
hw/loongarch: Implement DINTC plug/unplug interfaces
when cpu added, connect dintc irq to cpu INT_DMSI irq pin.
Reviewed-by: Bibo Mao <[email protected]>
Signed-off-by: Song Gao <[email protected]>
Message-ID: <[email protected]>
Commit: ad9c861945f9e82073d86a7542acf6f928b839d8
https://github.com/qemu/qemu/commit/ad9c861945f9e82073d86a7542acf6f928b839d8
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M MAINTAINERS
M tests/functional/x86_64/meson.build
A tests/functional/x86_64/test_vfio_user_client.py
Log Message:
-----------
tests/functional: add a vfio-user smoke test
Add a basic test of the vfio-user PCI client implementation.
Co-authored-by: John Levon <[email protected]>
Signed-off-by: Mark Cave-Ayland <[email protected]>
Signed-off-by: John Levon <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: da9211f28e280bc9809b116fc186727a01b0f267
https://github.com/qemu/qemu/commit/da9211f28e280bc9809b116fc186727a01b0f267
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/ppc/spapr_pci_vfio.c
M hw/vfio/container.c
M hw/vfio/cpr-legacy.c
M hw/vfio/spapr.c
M include/hw/vfio/vfio-container.h
M include/hw/vfio/vfio-cpr.h
Log Message:
-----------
include/hw/vfio/vfio-container.h: rename VFIOContainer to VFIOLegacyContainer
The VFIOContainer struct represents the legacy VFIO container even though the
name suggests it may be the common superclass of all VFIO containers. Rename it
to VFIOLegacyContainer to make this clearer, which is also a better match for
its VFIO_IOMMU_LEGACY QOM type name.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: e2e269d580947fe9b1b5735c8cb659277ac67996
https://github.com/qemu/qemu/commit/e2e269d580947fe9b1b5735c8cb659277ac67996
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/ppc/spapr_pci_vfio.c
M hw/vfio-user/container.c
M hw/vfio-user/container.h
M hw/vfio/container-base.c
M hw/vfio/container.c
M hw/vfio/cpr-iommufd.c
M hw/vfio/cpr-legacy.c
M hw/vfio/device.c
M hw/vfio/iommufd.c
M hw/vfio/listener.c
M hw/vfio/spapr.c
M hw/vfio/vfio-iommufd.h
M hw/vfio/vfio-listener.h
M include/hw/vfio/vfio-container-base.h
M include/hw/vfio/vfio-container.h
M include/hw/vfio/vfio-cpr.h
M include/hw/vfio/vfio-device.h
Log Message:
-----------
include/hw/vfio/vfio-container-base.h: rename VFIOContainerBase to
VFIOContainer
Now that the VFIOContainer struct name is available, rename VFIOContainerBase
to VFIOContainer to better indicate that it is the superclass of other
VFIOFooContainer structs.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: 07cbbfb108586a03059975aa0e093b833cb9bf56
https://github.com/qemu/qemu/commit/07cbbfb108586a03059975aa0e093b833cb9bf56
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/ppc/spapr_pci_vfio.c
M hw/s390x/s390-pci-vfio.c
M hw/vfio/container.c
M hw/vfio/cpr-legacy.c
M hw/vfio/spapr.c
A include/hw/vfio/vfio-container-legacy.h
R include/hw/vfio/vfio-container.h
Log Message:
-----------
include/hw/vfio/vfio-container.h: rename file to vfio-container-legacy.h
With the rename of VFIOContainer to VFIOLegacyContainer, the vfio-container.h
header file containing the struct definition is misleading. Rename it from
vfio-container.h to vfio-container-legacy.h accordingly, fixing up the name
of the include guard at the same time.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: ef70eb32b8a15abea6af8180ba03e771ae041169
https://github.com/qemu/qemu/commit/ef70eb32b8a15abea6af8180ba03e771ae041169
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio-user/container.h
M hw/vfio/container-base.c
M hw/vfio/vfio-iommufd.h
R include/hw/vfio/vfio-container-base.h
M include/hw/vfio/vfio-container-legacy.h
A include/hw/vfio/vfio-container.h
M include/hw/vfio/vfio-device.h
Log Message:
-----------
include/hw/vfio/vfio-container-base.h: rename file to vfio-container.h
With the rename of VFIOContainerBase to VFIOContainer, the vfio-container-base.h
header file containing the struct definition is misleading. Rename it from
vfio-container-base.h to vfio-container.h accordingly, fixing up the name
of the include guard at the same time.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: a3bcae62b6a161dea4521f254f19c5a8551c28af
https://github.com/qemu/qemu/commit/a3bcae62b6a161dea4521f254f19c5a8551c28af
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
A hw/vfio/container-legacy.c
R hw/vfio/container.c
M hw/vfio/meson.build
Log Message:
-----------
hw/vfio/container.c: rename file to container-legacy.c
This file is mostly concerned with the VFIOLegacyContainer implementation so
rename it to reflect the previous rename of VFIOContainer to
VFIOLegacyContainer.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: dcce51b19385ea65ac6db295204716a9eb311fbf
https://github.com/qemu/qemu/commit/dcce51b19385ea65ac6db295204716a9eb311fbf
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
R hw/vfio/container-base.c
A hw/vfio/container.c
M hw/vfio/meson.build
Log Message:
-----------
hw/vfio/container-base.c: rename file to container.c
Rename the file to reflect the previous rename of VFIOContainerBase to
VFIOContainer.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: cc5b394291f428a04ff7a622573c02560b183797
https://github.com/qemu/qemu/commit/cc5b394291f428a04ff7a622573c02560b183797
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio/iommufd.c
Log Message:
-----------
vfio/iommufd.c: use QOM casts where appropriate
Use QOM casts to convert between VFIOIOMMUFDContainer and VFIOContainer instead
of accessing bcontainer directly.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: 91bdb2f32902c83490cbafe524c82005a64e1f68
https://github.com/qemu/qemu/commit/91bdb2f32902c83490cbafe524c82005a64e1f68
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio/cpr-iommufd.c
Log Message:
-----------
vfio/cpr-iommufd.c: use QOM casts where appropriate
Use QOM casts to convert between VFIOIOMMUFDContainer and VFIOContainer instead
of accessing bcontainer directly.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: a7f185cbeca75555a7fa7272afbd3a06bc4f7f66
https://github.com/qemu/qemu/commit/a7f185cbeca75555a7fa7272afbd3a06bc4f7f66
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio/vfio-iommufd.h
Log Message:
-----------
vfio/vfio-iommufd.h: rename VFIOContainer bcontainer field to parent_obj
Now that nothing accesses the bcontainer field directly, rename bcontainer to
parent_obj as per our current coding guidelines.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: 6c671235636cfb5e825040b4621ff06c77925731
https://github.com/qemu/qemu/commit/6c671235636cfb5e825040b4621ff06c77925731
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio/spapr.c
Log Message:
-----------
vfio/spapr.c: use QOM casts where appropriate
Use QOM casts to convert between VFIOSpaprContainer and VFIOLegacyContainer
instead of accessing bcontainer directly.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: 1bd06d0385eb72bb54aa14af34e8361ec3ae8cee
https://github.com/qemu/qemu/commit/1bd06d0385eb72bb54aa14af34e8361ec3ae8cee
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio/spapr.c
Log Message:
-----------
vfio/spapr.c: rename VFIOContainer bcontainer field to parent_obj
Now that nothing accesses the bcontainer field directly, rename bcontainer to
parent_obj as per our current coding guidelines.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: d5db50dd819142748e10e488a2288052ec0235fd
https://github.com/qemu/qemu/commit/d5db50dd819142748e10e488a2288052ec0235fd
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio/pci.c
Log Message:
-----------
vfio/pci.c: rename vfio_instance_init() to vfio_pci_init()
This is the more typical naming convention for QOM init() functions, in
particular it changes the prefix to match the name of the QOM type.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: e6fd80873a24883dc204d09f11c16e30c8cd1c37
https://github.com/qemu/qemu/commit/e6fd80873a24883dc204d09f11c16e30c8cd1c37
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio/pci.c
Log Message:
-----------
vfio/pci.c: rename vfio_instance_finalize() to vfio_pci_finalize()
This is the more typical naming convention for QOM finalize() functions, in
particular it changes the prefix to match the name of the QOM type.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: 784fa15f02fc0adbf8897f5c3012652174cc7274
https://github.com/qemu/qemu/commit/784fa15f02fc0adbf8897f5c3012652174cc7274
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio/pci.c
Log Message:
-----------
vfio/pci.c: rename vfio_pci_dev_class_init() to vfio_pci_class_init()
This changes the function prefix to match the name of the QOM type.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: 25c8376b37948d7608b1a13f43e985fc801295e5
https://github.com/qemu/qemu/commit/25c8376b37948d7608b1a13f43e985fc801295e5
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio/pci.c
Log Message:
-----------
vfio/pci.c: rename vfio_pci_dev_info to vfio_pci_info
This changes the prefix to match the name of the QOM type.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: af2a8bfb3cd38cceb39a152ff33c7daa4c81c506
https://github.com/qemu/qemu/commit/af2a8bfb3cd38cceb39a152ff33c7daa4c81c506
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/s390x/s390-pci-vfio.c
M hw/vfio-user/pci.c
M hw/vfio/device.c
M hw/vfio/pci.c
M hw/vfio/pci.h
M hw/vfio/types.h
Log Message:
-----------
hw/vfio/types.h: rename TYPE_VFIO_PCI_BASE to TYPE_VFIO_PCI_DEVICE
This brings the QOM type name in line with the underlying VFIOPCIDevice
structure.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: 153273f2796a664b08120799f326c6319f640011
https://github.com/qemu/qemu/commit/153273f2796a664b08120799f326c6319f640011
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio/pci.c
Log Message:
-----------
vfio/pci.c: rename vfio_pci_base_dev_class_init() to
vfio_pci_device_class_init()
This changes the function prefix to match the name of the QOM type.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: 596b158ffd727465fbeb9fff9a22b7ea7a341bc3
https://github.com/qemu/qemu/commit/596b158ffd727465fbeb9fff9a22b7ea7a341bc3
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio/pci.c
Log Message:
-----------
vfio/pci.c: rename vfio_pci_base_dev_info to vfio_pci_device_info
This changes the prefix to match the name of the QOM type.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: 7c53e1f43ee365ee5061dd30d60c21a55eefbfce
https://github.com/qemu/qemu/commit/7c53e1f43ee365ee5061dd30d60c21a55eefbfce
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio/pci.c
Log Message:
-----------
vfio/pci.c: rename vfio_pci_dev_properties[] to vfio_pci_properties[]
This changes the prefix to match the name of the QOM type.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: 05530ba2462f37fd55d72bdab31a7a5c29ab7519
https://github.com/qemu/qemu/commit/05530ba2462f37fd55d72bdab31a7a5c29ab7519
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio/pci.c
Log Message:
-----------
vfio/pci.c: rename vfio_pci_dev_nohotplug_properties[] to
vfio_pci_nohotplug_properties[]
This changes the prefix to match the name of the QOM type.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: cc44b39c274b35f1510725f60dd95af59d0bd3fb
https://github.com/qemu/qemu/commit/cc44b39c274b35f1510725f60dd95af59d0bd3fb
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio/pci.c
Log Message:
-----------
vfio/pci.c: rename vfio_pci_nohotplug_dev_class_init() to
vfio_pci_nohotplug_class_init()
This changes the function prefix to match the name of the QOM type.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: 5bdf0db823869a210434b5048d20dce5e686b7aa
https://github.com/qemu/qemu/commit/5bdf0db823869a210434b5048d20dce5e686b7aa
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio/pci.c
Log Message:
-----------
vfio/pci.c: rename vfio_pci_nohotplug_dev_info to vfio_pci_nohotplug_info
This changes the prefix to match the name of the QOM type.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: c833f7a5c66e1264bfaaa389467c5af8d9c49082
https://github.com/qemu/qemu/commit/c833f7a5c66e1264bfaaa389467c5af8d9c49082
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio-user/pci.c
Log Message:
-----------
vfio-user/pci.c: rename vfio_user_pci_dev_class_init() to
vfio_user_pci_class_init()
This changes the function prefix to match the name of the QOM type.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: 78f4b77607b41909c294f15ae4e51d87e36aab4f
https://github.com/qemu/qemu/commit/78f4b77607b41909c294f15ae4e51d87e36aab4f
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio-user/pci.c
Log Message:
-----------
vfio-user/pci.c: rename vfio_user_pci_dev_properties[] to
vfio_user_pci_properties[]
This changes the prefix to match the name of the QOM type.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: de837b5cbd489410aab1eda00b4b50e45a85d5d6
https://github.com/qemu/qemu/commit/de837b5cbd489410aab1eda00b4b50e45a85d5d6
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio-user/pci.c
Log Message:
-----------
vfio-user/pci.c: rename vfio_user_instance_init() to vfio_user_pci_init()
This is the more typical naming convention for QOM init() functions, in
particular it changes the prefix to match the name of the QOM type.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: d5447437aef2d326728e0ad1590a5fa50c0b33a3
https://github.com/qemu/qemu/commit/d5447437aef2d326728e0ad1590a5fa50c0b33a3
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio-user/pci.c
Log Message:
-----------
vfio-user/pci.c: rename vfio_user_instance_finalize() to
vfio_user_pci_finalize()
This is the more typical naming convention for QOM finalize() functions, in
particular it changes the prefix to match the name of the QOM type.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: d0776b8c60fcc5833fba1d2ce8e0780c429108bc
https://github.com/qemu/qemu/commit/d0776b8c60fcc5833fba1d2ce8e0780c429108bc
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M hw/vfio-user/pci.c
Log Message:
-----------
vfio-user/pci.c: rename vfio_user_pci_dev_info to vfio_user_pci_info
This changes the prefix to match the name of the QOM type.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: 7c773b4267ae10820ed5e3ec6b15219b39dbcebd
https://github.com/qemu/qemu/commit/7c773b4267ae10820ed5e3ec6b15219b39dbcebd
Author: Mark Cave-Ayland <[email protected]>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M include/hw/vfio/vfio-device.h
Log Message:
-----------
include/hw/vfio/vfio-device.h: fix include header guard name
The header guard was incorrectly called HW_VFIO_VFIO_COMMON_H instead of
HW_VFIO_VFIO_DEVICE_H.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Cédric Le Goater <[email protected]>
Commit: 5a449678d6594b70d3ead9ad78b47d76eb95a91e
https://github.com/qemu/qemu/commit/5a449678d6594b70d3ead9ad78b47d76eb95a91e
Author: Alex Bennée <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
A scripts/ci/gitlab-failure-analysis
Log Message:
-----------
scripts/ci: add gitlab-failure-analysis script
This is a script designed to collect data from multiple pipelines and
analyse the failure modes they have. By default it will probe the last
3 failed jobs on the staging branch. However this can all be
controlled by the CLI:
./scripts/ci/gitlab-failure-analysis --count 2 --branch=testing/next --id
39915562 --status=
running pipeline 2028486060, total jobs 125, skipped 5, failed 0, 39742
tests, 0 failed tests
success pipeline 2015018135, total jobs 125, skipped 5, failed 0, 49219
tests, 0 failed tests
You can also skip failing jobs and just dump the tests:
./scripts/ci/gitlab-failure-analysis --branch= --id 39915562 --status=
--skip-jobs --pipeline 1946202491 1919542960
failed pipeline 1946202491, total jobs 127, skipped 5, failed 26, 38742
tests, 278 skipped tests, 2 failed tests
Failed test qemu.qemu:qtest+qtest-s390x / qtest-s390x/boot-serial-test,
check-system-opensuse, 1 /s390x/boot-serial/s390-ccw-virtio - FATAL-ERROR:
Failed to find expected string. Please check '/tmp/qtest-boot-serial-sW77EA3'
Failed test qemu.qemu:qtest+qtest-aarch64 / qtest-aarch64/arm-cpu-features,
check-system-opensuse, 1 /aarch64/arm/query-cpu-model-expansion -
ERROR:../tests/qtest/arm-cpu-features.c:459:test_query_cpu_model_expansion:
assertion failed (_error == "The CPU type 'host' requires KVM"): ("The CPU type
'host' requires hardware accelerator" == "The CPU type 'host' requires KVM")
failed pipeline 1919542960, total jobs 127, skipped 5, failed 2, 48753
tests, 441 skipped tests, 1 failed tests
Failed test qemu.qemu:unit / test-aio, msys2-64bit, 12 /aio/timer/schedule
- ERROR:../tests/unit/test-aio.c:413:test_timer_schedule: assertion failed:
(aio_poll(ctx, true))
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: 24e51fc773b63bd222e61226431f3b32ac9915c2
https://github.com/qemu/qemu/commit/24e51fc773b63bd222e61226431f3b32ac9915c2
Author: Nabih Estefan <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M scripts/checkpatch.pl
Log Message:
-----------
checkpatch: Ignore removed lines in license check
When running the license check, if we are updating a license it is
possible for the checkpatch script to test against old license lines
instead of newer ones, since the removal lines appear before the
addition lines in a .patch file.
Fix this by skipping over lines that start with "-" in the checkpatch
script.
Signed-off-by: Nabih Estefan <[email protected]>
Reviewed-by: Daniel P. Berrangé <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: abc4522d01e79a31494a35decf726ab347ad4db4
https://github.com/qemu/qemu/commit/abc4522d01e79a31494a35decf726ab347ad4db4
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M include/semihosting/syscalls.h
M semihosting/arm-compat-semi.c
M semihosting/meson.build
M semihosting/syscalls.c
Log Message:
-----------
semihosting/syscalls: compile once in system and per target for user mode
We replace target_ulong mechanically by uint64_t.
We can't compile (easily) this code once for user, as it relies on
various target/function types, so leave it in specific_ss for user mode.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: 664172404aff3ba11f8ab1fc348d3c860c45f5d3
https://github.com/qemu/qemu/commit/664172404aff3ba11f8ab1fc348d3c860c45f5d3
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M semihosting/syscalls.c
Log Message:
-----------
semihosting/syscalls: replace uint64_t with vaddr where appropriate
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: d8028d4ede536bbea82eab8bdebd753378d58b68
https://github.com/qemu/qemu/commit/d8028d4ede536bbea82eab8bdebd753378d58b68
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M include/semihosting/guestfd.h
M include/semihosting/semihost.h
A semihosting/arm-compat-semi-stub.c
M semihosting/arm-compat-semi.c
M semihosting/guestfd.c
M semihosting/meson.build
Log Message:
-----------
semihosting/guestfd: compile once for system/user
We move relevant code to semihosting/arm-compat-semi.c, and add
functions to query CONFIG_ARM_COMPATIBLE_SEMIHOSTING at runtime.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: a92e151bd0d8c0dedbfb2d301eb31aaac94a1fb8
https://github.com/qemu/qemu/commit/a92e151bd0d8c0dedbfb2d301eb31aaac94a1fb8
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M semihosting/arm-compat-semi.c
M target/arm/common-semi-target.h
M target/riscv/common-semi-target.h
Log Message:
-----------
semihosting/arm-compat-semi: change common_semi_sys_exit_extended
We now check only is sys_exit is extended.
This allows to break dependency to TARGET_SYS_EXIT_EXTENDED which will
not be available anymore from this code.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: 2131f0dcdf97935b1c412e61da51f2de323bfa9c
https://github.com/qemu/qemu/commit/2131f0dcdf97935b1c412e61da51f2de323bfa9c
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M target/riscv/common-semi-target.h
Log Message:
-----------
target/riscv/common-semi-target: remove sizeof(target_ulong)
Only riscv64 extends SYS_EXIT, similar to aarch64.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: 632308c5912aab0dfad8bc1a1cbe7b37a5e1aeec
https://github.com/qemu/qemu/commit/632308c5912aab0dfad8bc1a1cbe7b37a5e1aeec
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M target/arm/common-semi-target.h
M target/riscv/common-semi-target.h
Log Message:
-----------
target/{arm, riscv}/common-semi-target: eradicate target_ulong
We replace mechanically with uint64_t.
There is no semantic change, and allows us to extract a proper API from
this set of functions.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: 9e65902904cdad6d4b131b1791205ae4138c99eb
https://github.com/qemu/qemu/commit/9e65902904cdad6d4b131b1791205ae4138c99eb
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M include/semihosting/common-semi.h
M semihosting/arm-compat-semi.c
A target/arm/common-semi-target.c
R target/arm/common-semi-target.h
M target/arm/meson.build
A target/riscv/common-semi-target.c
R target/riscv/common-semi-target.h
M target/riscv/meson.build
Log Message:
-----------
include/semihosting/common-semi: extract common_semi API
We transform target/{arm,riscv}/common-semi-target.h headers to proper
compilation units, and use them in arm-compat-semi.c.
This way, we can include only the declaration header (which is target
agnostic), and selectively link the appropriate implementation based on
current target.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: feb49fa79bdbd96d9f3aa604c9217f70d2c36b8c
https://github.com/qemu/qemu/commit/feb49fa79bdbd96d9f3aa604c9217f70d2c36b8c
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M semihosting/arm-compat-semi.c
Log Message:
-----------
semihosting/arm-compat-semi: eradicate sizeof(target_ulong)
No semantic change.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: 6dfbf9b6cfe461ac60c8c9ee7326fb423faa7987
https://github.com/qemu/qemu/commit/6dfbf9b6cfe461ac60c8c9ee7326fb423faa7987
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M semihosting/arm-compat-semi.c
Log Message:
-----------
semihosting/arm-compat-semi: replace target_ulong
Replace with vaddr or uint64_t where appropriate.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
[AJB: tweak commit message]
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: ab385d594c5189dd3182e902053276863dda6032
https://github.com/qemu/qemu/commit/ab385d594c5189dd3182e902053276863dda6032
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M semihosting/arm-compat-semi.c
Log Message:
-----------
semihosting/arm-compat-semi: eradicate target_long
We use int64_t or int32_t depending on ret size.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: d3fe75400746dfd102cf317ca9c2da744f580536
https://github.com/qemu/qemu/commit/d3fe75400746dfd102cf317ca9c2da744f580536
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M semihosting/arm-compat-semi.c
Log Message:
-----------
semihosting/arm-compat-semi: remove dependency on cpu.h
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: c9e79557e465dc5ec92803aca4f330b9dc3c2d41
https://github.com/qemu/qemu/commit/c9e79557e465dc5ec92803aca4f330b9dc3c2d41
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M semihosting/meson.build
Log Message:
-----------
semihosting/arm-compat-semi: compile once in system and per target for user
mode
We don't have any target dependency left in system mode, so we can
compile once.
User mode depends on qemu.h, which is duplicated between linux and bsd,
so we can't easily compile it once.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: 04387b4a056771bf4a95b310507c8302f12c4b65
https://github.com/qemu/qemu/commit/04387b4a056771bf4a95b310507c8302f12c4b65
Author: Peter Maydell <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M contrib/plugins/execlog.c
Log Message:
-----------
contrib/plugins/execlog: Explicitly check for qemu_plugin_read_register()
failure
In insn_check_regs() we don't explicitly check whether
qemu_plugin_read_register() failed, which confuses Coverity into
thinking that sz can be -1 in the memcmp(). In fact the assertion
that sz == reg->last->len means this can't happen, but it's clearer
to both humans and Coverity if we explicitly assert that sz > 0, as
we already do in init_vcpu_register().
Coverity: CID 1611901, 1611902
Fixes: af6e4e0a22c1 ("contrib/plugins: extend execlog to track register
changes")
Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: 293028ca25fdf0c9b91e5e9eeea16fe4cc4b9217
https://github.com/qemu/qemu/commit/293028ca25fdf0c9b91e5e9eeea16fe4cc4b9217
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M contrib/plugins/meson.build
A contrib/plugins/uftrace.c
Log Message:
-----------
contrib/plugins/uftrace: skeleton file
We define a scoreboard that will hold our data per cpu. As well, we
define a buffer per cpu that will be used to read registers and memories
in a thread-safe way.
For now, we just instrument all instructions with an empty callback.
Reviewed-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: 490aa81855e1c85466368a707ddf6da61097ff13
https://github.com/qemu/qemu/commit/490aa81855e1c85466368a707ddf6da61097ff13
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M contrib/plugins/uftrace.c
Log Message:
-----------
contrib/plugins/uftrace: define cpu operations and implement aarch64
We define a new CpuOps structure that will be used to implement tracking
independently of guest architecture.
As well, we now instrument only instructions following ones that might
have touched the frame pointer.
Reviewed-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: 992fe17bd7e9648e9e79eb72826eff26a660bb1b
https://github.com/qemu/qemu/commit/992fe17bd7e9648e9e79eb72826eff26a660bb1b
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M contrib/plugins/uftrace.c
Log Message:
-----------
contrib/plugins/uftrace: track callstack
We now track callstack, based on frame pointer analysis. We can detect
function calls, returns, and discontinuities.
We implement a frame pointer based unwinding that is used for
discontinuities.
Reviewed-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: bba94f7876436b798a87894d2e9886429ccda446
https://github.com/qemu/qemu/commit/bba94f7876436b798a87894d2e9886429ccda446
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M contrib/plugins/uftrace.c
Log Message:
-----------
contrib/plugins/uftrace: implement tracing
We implement tracing, following uftrace format.
Trace is flushed every 32 MB, so file operations don't impact
performance at runtime.
A different trace is generated per cpu, and we ensure they have a unique
name, based on vcpu_index, while keeping room for privilege level coming
in next commit.
Uftrace format is not officially documented, but it can be found here:
https://github.com/namhyung/uftrace/blob/v0.18/libmcount/record.c#L909
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: 308c20108a476722d49d9e463d81662b0722bc40
https://github.com/qemu/qemu/commit/308c20108a476722d49d9e463d81662b0722bc40
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M contrib/plugins/uftrace.c
Log Message:
-----------
contrib/plugins/uftrace: implement privilege level tracing
We add new option trace-privilege-level=bool, which will create a
separate trace for each privilege level.
This allows to follow changes of privilege during execution.
We implement aarch64 operations to track current privilege level
accordingly.
Reviewed-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: 727874759566fcec4c52d103f1abc4f4d409e583
https://github.com/qemu/qemu/commit/727874759566fcec4c52d103f1abc4f4d409e583
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M contrib/plugins/uftrace.c
Log Message:
-----------
contrib/plugins/uftrace: generate additional files for uftrace
Beyond traces per cpu, uftrace expect to find some specific files.
- info: contains information about machine/program run
those values are not impacting uftrace behaviour (only reported by
uftrace info), and we simply added empty strings.
- memory mapping: how every binary is mapped in memory. For system mode,
we generate an empty mapping (uftrace_symbols.py, coming in future
commit, will take care of that). For user mode, we copy current
/proc/self/maps. We don't need to do any special filtering, as
reported addresses will necessarily concern guest program, and not
QEMU and its libraries.
- task: list of tasks. We present every vcpu/privilege level as a
separate process, as it's the best view we can have when generating a
(visual) chrome trace. Using threads is less convenient in terms of
UI.
Reviewed-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: b860d96f003de204a34e360437af824734bf5112
https://github.com/qemu/qemu/commit/b860d96f003de204a34e360437af824734bf5112
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M contrib/plugins/uftrace.c
Log Message:
-----------
contrib/plugins/uftrace: implement x64 support
It's trivial to implement x64 support, as it's the same stack layout
as aarch64.
Reviewed-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: a073d1149efa923ab492414f9fcb209f7242f3a3
https://github.com/qemu/qemu/commit/a073d1149efa923ab492414f9fcb209f7242f3a3
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
A contrib/plugins/uftrace_symbols.py
Log Message:
-----------
contrib/plugins/uftrace_symbols.py
usage: contrib/plugins/uftrace_symbols.py \
--prefix-symbols \
arm-trusted-firmware/build/qemu/debug/bl1/bl1.elf \
arm-trusted-firmware/build/qemu/debug/bl2/bl2.elf \
arm-trusted-firmware/build/qemu/debug/bl31/bl31.elf \
u-boot/u-boot:0x60000000 \
u-boot/u-boot.relocated:0x000000023f6b6000 \
linux/vmlinux
Will generate symbols and memory mapping files for uftrace, allowing to
have an enhanced trace, instead of raw addresses.
It takes a collection of elf files, and automatically find all their
symbols, and generate an ordered memory map based on that.
This script uses the python (native) pyelftools module.
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Acked-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: 16b10fbf8bdb71ae20c7f74ab19c78d07c013ac7
https://github.com/qemu/qemu/commit/16b10fbf8bdb71ae20c7f74ab19c78d07c013ac7
Author: Pierrick Bouvier <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M docs/about/emulation.rst
Log Message:
-----------
contrib/plugins/uftrace: add documentation
This documentation summarizes how to use the plugin, and present two
examples of the possibilities offered by it, in system and user mode.
As well, it explains how to rebuild and reproduce those examples.
Reviewed-by: Manos Pitsidianakis <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Commit: 76f8b2f451344b54d418f4a4b9df04da677393ec
https://github.com/qemu/qemu/commit/76f8b2f451344b54d418f4a4b9df04da677393ec
Author: Richard Henderson <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M hw/intc/Kconfig
A hw/intc/loongarch_dintc.c
M hw/intc/meson.build
M hw/loongarch/Kconfig
M hw/loongarch/virt.c
A include/hw/intc/loongarch_dintc.h
M include/hw/loongarch/virt.h
M include/hw/pci-host/ls7a.h
M target/loongarch/cpu-csr.h
M target/loongarch/cpu.c
M target/loongarch/cpu.h
M target/loongarch/csr.c
M target/loongarch/machine.c
M target/loongarch/tcg/csr_helper.c
M target/loongarch/tcg/helper.h
M target/loongarch/tcg/insn_trans/trans_privileged.c.inc
Log Message:
-----------
Merge tag 'pull-loongarch-20250925' of https://github.com/gaosong715/qemu
into staging
pull-loongarch-20250925
# -----BEGIN PGP SIGNATURE-----
#
# iLMEAAEIAB0WIQTKRzxE1qCcGJoZP81FK5aFKyaCFgUCaNS+IAAKCRBFK5aFKyaC
# Fim5A/sFsFRcwzZhocEqYJ5z0BRC9JBlMbuCAIXvgQEeFOKhtFwkOZ7doPSe0TVU
# dj7AbrT5OtC0pc6aiNtqd3rsSMSs5rnvfKJ0+GrO7d9mjfKPRknMjPaj6OJF53aH
# mIkbWeLfBVJIedEn+ECN5GOLi8Es4VlB6HQp580JpuoQzIWfnQ==
# =Jzau
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 24 Sep 2025 08:59:28 PM PDT
# gpg: using RSA key CA473C44D6A09C189A193FCD452B96852B268216
# gpg: Good signature from "Song Gao <[email protected]>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: CA47 3C44 D6A0 9C18 9A19 3FCD 452B 9685 2B26 8216
* tag 'pull-loongarch-20250925' of https://github.com/gaosong715/qemu:
hw/loongarch: Implement DINTC plug/unplug interfaces
target/loongarch:Implement csrrd CSR_MSGIR register
target/loongarch: Add CSR_ESTAT.bit15 and CSR_ECFG.bit15 for msg interrupts.
hw/loongarch: Implement dintc set irq
hw/loongarch: Implement dintc realize and unrealize
hw/loongarch: DINTC add a MemoryRegion
target/loongarch: add msg interrupt CSR registers
loongarch: add a direct interrupt controller device
hw/loongarch: add misc register support dmsi
hw/loongarch: add virt feature dmsi support
target/loongarch: move some machine define to virt.h
Signed-off-by: Richard Henderson <[email protected]>
Commit: 02fb588159ba3bc0c16132c4411c4940bfbdecf5
https://github.com/qemu/qemu/commit/02fb588159ba3bc0c16132c4411c4940bfbdecf5
Author: Richard Henderson <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M MAINTAINERS
M hw/ppc/spapr_pci_vfio.c
M hw/s390x/s390-pci-vfio.c
M hw/vfio-user/container.c
M hw/vfio-user/container.h
M hw/vfio-user/pci.c
R hw/vfio/container-base.c
A hw/vfio/container-legacy.c
M hw/vfio/container.c
M hw/vfio/cpr-iommufd.c
M hw/vfio/cpr-legacy.c
M hw/vfio/device.c
M hw/vfio/iommufd.c
M hw/vfio/listener.c
M hw/vfio/meson.build
M hw/vfio/pci.c
M hw/vfio/pci.h
M hw/vfio/spapr.c
M hw/vfio/types.h
M hw/vfio/vfio-iommufd.h
M hw/vfio/vfio-listener.h
R include/hw/vfio/vfio-container-base.h
A include/hw/vfio/vfio-container-legacy.h
M include/hw/vfio/vfio-container.h
M include/hw/vfio/vfio-cpr.h
M include/hw/vfio/vfio-device.h
M tests/functional/x86_64/meson.build
A tests/functional/x86_64/test_vfio_user_client.py
Log Message:
-----------
Merge tag 'pull-vfio-20250926' of https://github.com/legoater/qemu into
staging
vfio queue:
* New vfio-user functional test
* Improved naming conventions
# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEEoPZlSPBIlev+awtgUaNDx8/77KEFAmjWJaEACgkQUaNDx8/7
# 7KE9Kw/+Ne/AJBxJ0EceK6oCX/1d/56l8dlY7/PHa/LuX8LDzZq42c6+CC2bQ5Ze
# +C5RvM1aavUkvlW73jjmXs1/sdvqq5etGpxbf+hjlLh7uXFaceszWw0+ljH11Pk3
# INZj4iVrPTX7A2d9Gip0ouTFc02DYYllKpUnpbN9MYk0WRgoMBvZISc9T6A28oj1
# Zm24XWOW5ySux9IDIm+zSpvtRp+5r5PgwwwPZvNKBa5jqfJiw6+ZmejLUNEvwfgr
# vkBCGuCywzf+l5wX5z+ofl5GDd6YyRa5W+nDQE7viDwo0XTtZC3WxRKDpqdAruld
# fPjuflqHUpqnyabFuVVc5VV9iyBLGs0cFt2BHPn0vHRZTaCNAGZKZZDzVOP9EYuK
# Jmx5B2vCTnVbg2ZfG+ErEYAVVX97Tgks0xtUxGOpJwbImlRCKdwbrDKSFWT5NYCN
# BlfZX4iFrWLo2fntWP4c3DtM7w6Vn/x5hevyy9pD3i5D8zqDx3FaYJCuM4+5KFAO
# WenxUIkjOcJ829NBfQvF2HtJDEeuLv3eMxszU4pyRnH1vsk38ofOfvZVl2uQd7XT
# NrW207wAAOO+QxrelUGIuuMwhYuh16KnHkjjVe0yEh6htBF5ceIImqZH8SU97qWU
# vQjbcmx/fNQKlKCLc+JOCQz+KJyKahPDGcHi1vxEKXObHFI0rfw=
# =Jl4i
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 25 Sep 2025 10:33:21 PM PDT
# gpg: using RSA key A0F66548F04895EBFE6B0B6051A343C7CFFBECA1
# gpg: Good signature from "Cédric Le Goater <[email protected]>" [full]
# gpg: aka "Cédric Le Goater <[email protected]>" [full]
* tag 'pull-vfio-20250926' of https://github.com/legoater/qemu: (29 commits)
include/hw/vfio/vfio-device.h: fix include header guard name
vfio-user/pci.c: rename vfio_user_pci_dev_info to vfio_user_pci_info
vfio-user/pci.c: rename vfio_user_instance_finalize() to
vfio_user_pci_finalize()
vfio-user/pci.c: rename vfio_user_instance_init() to vfio_user_pci_init()
vfio-user/pci.c: rename vfio_user_pci_dev_properties[] to
vfio_user_pci_properties[]
vfio-user/pci.c: rename vfio_user_pci_dev_class_init() to
vfio_user_pci_class_init()
vfio/pci.c: rename vfio_pci_nohotplug_dev_info to vfio_pci_nohotplug_info
vfio/pci.c: rename vfio_pci_nohotplug_dev_class_init() to
vfio_pci_nohotplug_class_init()
vfio/pci.c: rename vfio_pci_dev_nohotplug_properties[] to
vfio_pci_nohotplug_properties[]
vfio/pci.c: rename vfio_pci_dev_properties[] to vfio_pci_properties[]
vfio/pci.c: rename vfio_pci_base_dev_info to vfio_pci_device_info
vfio/pci.c: rename vfio_pci_base_dev_class_init() to
vfio_pci_device_class_init()
hw/vfio/types.h: rename TYPE_VFIO_PCI_BASE to TYPE_VFIO_PCI_DEVICE
vfio/pci.c: rename vfio_pci_dev_info to vfio_pci_info
vfio/pci.c: rename vfio_pci_dev_class_init() to vfio_pci_class_init()
vfio/pci.c: rename vfio_instance_finalize() to vfio_pci_finalize()
vfio/pci.c: rename vfio_instance_init() to vfio_pci_init()
vfio/spapr.c: rename VFIOContainer bcontainer field to parent_obj
vfio/spapr.c: use QOM casts where appropriate
vfio/vfio-iommufd.h: rename VFIOContainer bcontainer field to parent_obj
...
Signed-off-by: Richard Henderson <[email protected]>
Commit: 9229bda7e43184c1337b36e4b5f2c48f387a4e41
https://github.com/qemu/qemu/commit/9229bda7e43184c1337b36e4b5f2c48f387a4e41
Author: Richard Henderson <[email protected]>
Date: 2025-09-26 (Fri, 26 Sep 2025)
Changed paths:
M contrib/plugins/execlog.c
M contrib/plugins/meson.build
A contrib/plugins/uftrace.c
A contrib/plugins/uftrace_symbols.py
M docs/about/emulation.rst
M include/semihosting/common-semi.h
M include/semihosting/guestfd.h
M include/semihosting/semihost.h
M include/semihosting/syscalls.h
M scripts/checkpatch.pl
A scripts/ci/gitlab-failure-analysis
A semihosting/arm-compat-semi-stub.c
M semihosting/arm-compat-semi.c
M semihosting/guestfd.c
M semihosting/meson.build
M semihosting/syscalls.c
A target/arm/common-semi-target.c
R target/arm/common-semi-target.h
M target/arm/meson.build
A target/riscv/common-semi-target.c
R target/riscv/common-semi-target.h
M target/riscv/meson.build
Log Message:
-----------
Merge tag 'pull-10.2-maintainer-260925-1' of https://gitlab.com/stsquad/qemu
into staging
September maintainer updates (scripts, semihosting, plugins)
- new gitlab-failure-analysis script
- tweak checkpath to ignore license in removed lines
- refactor semihosting to build once
- add explicit assert to execlog for coverity
- new uftrace plugin
# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmjWWJYACgkQ+9DbCVqe
# KkS1sgf+LsP0jsc1wKhzBhO4WarXXacWCDxK22riJ3aolm+gJ+b0WI4ds18A0e3R
# z/J8VJVxBZ+6Hid+tOCQwfZ+Hb1p9IofzBdZryGUvwguviNdlpEChhXXnoZkicym
# aGcC/jYRkhTx42dKRdZrSzPd3ccipqop9RvGx57bjCSBAEHYNz679p4z91kNR5a9
# UfcCzIQHbBUPZo0F9gQkNnBrjsJQhvF+gXPmmsmBI1pby6gNRQvFshrTQ1C32VpL
# VgXNc9cZ6vaREWlgb6izNjsMP7cYTMH2Ppxty/FyEMg7GTfWRjI6Ec8fJKjPFtKr
# ZbCNNAeJ9uLK6pJfTk2YxYabxx3JuQ==
# =cR9e
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 26 Sep 2025 02:10:46 AM PDT
# gpg: using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key)
<[email protected]>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 6685 AE99 E751 67BC AFC8 DF35 FBD0 DB09 5A9E 2A44
* tag 'pull-10.2-maintainer-260925-1' of https://gitlab.com/stsquad/qemu: (24
commits)
contrib/plugins/uftrace: add documentation
contrib/plugins/uftrace_symbols.py
contrib/plugins/uftrace: implement x64 support
contrib/plugins/uftrace: generate additional files for uftrace
contrib/plugins/uftrace: implement privilege level tracing
contrib/plugins/uftrace: implement tracing
contrib/plugins/uftrace: track callstack
contrib/plugins/uftrace: define cpu operations and implement aarch64
contrib/plugins/uftrace: skeleton file
contrib/plugins/execlog: Explicitly check for qemu_plugin_read_register()
failure
semihosting/arm-compat-semi: compile once in system and per target for user
mode
semihosting/arm-compat-semi: remove dependency on cpu.h
semihosting/arm-compat-semi: eradicate target_long
semihosting/arm-compat-semi: replace target_ulong
semihosting/arm-compat-semi: eradicate sizeof(target_ulong)
include/semihosting/common-semi: extract common_semi API
target/{arm, riscv}/common-semi-target: eradicate target_ulong
target/riscv/common-semi-target: remove sizeof(target_ulong)
semihosting/arm-compat-semi: change common_semi_sys_exit_extended
semihosting/guestfd: compile once for system/user
...
Signed-off-by: Richard Henderson <[email protected]>
Compare: https://github.com/qemu/qemu/compare/95b9e0d2ade5...9229bda7e431
To unsubscribe from these emails, change your notification settings at
https://github.com/qemu/qemu/settings/notifications