Various fixes for MAINTAINERS, s390x and tests
[PULL 4/9] treewide: update docs file extensions (.txt -> .rst) in comments
In reply to Thomas HuthFrom: Sean Wei <[email protected]>
Several source comments still refer to docs with the old .txt extension that were previously converted to reStructuredText.
Update these references to use the correct .rst extensions to maintain accurate in-tree documentation pointers.
No functional changes.
Related commits:
50f8174c5c1 (Jul 2021): docs/specs/acpi_nvdimm: Convert to rST f054eb1c920 (Jul 2021): docs/specs/acpi_pci_hotplug: Convert to rST 912fb3678b8 (Sep 2023): docs/specs/vmgenid: Convert to rST bb1cff6ee04 (Sep 2023): docs/specs/ivshmem-spec: Convert to rST 55ff468f781 (Jan 2022): docs: Rename ppc-spapr-hotplug.txt to .rst
Message-ID: <[email protected]>
--- include/hw/acpi/pcihp.h | 2 +- include/hw/misc/ivshmem-flat.h | 2 +- hw/acpi/nvdimm.c | 2 +- hw/acpi/pcihp.c | 2 +- hw/acpi/vmgenid.c | 6 +++--- hw/misc/ivshmem-flat.c | 2 +- hw/ppc/spapr.c | 2 +- tests/qtest/vmgenid-test.c | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-)
include/hw/acpi/pcihp.h +1 -1
@@ -3,7 +3,7 @@* * QEMU supports PCI hotplug via ACPI. This module * implements the interface between QEMU and the ACPI BIOS. -* Interface specification - see docs/specs/acpi_pci_hotplug.txt +* Interface specification - see docs/specs/acpi_pci_hotplug.rst * * Copyright (c) 2013, Red Hat Inc, Michael S. Tsirkin ([email protected]) * Copyright (c) 2006 Fabrice Bellard
include/hw/misc/ivshmem-flat.h +1 -1
@@ -36,7 +36,7 @@ typedef struct IvshmemFTState IvshmemFTState;DECLARE_INSTANCE_CHECKER (IvshmemFTState,IVSHMEM_FLAT ,TYPE_IVSHMEM_FLAT ) -/* Ivshmem registers. See ./docs/specs/ivshmem-spec.txt for details. */ +/* Ivshmem registers. See docs/specs/ivshmem-spec.rst for details. */enum ivshmem_registers {INTMASK =0 ,INTSTATUS =4 ,
hw/acpi/nvdimm.c +1 -1
@@ -535,7 +535,7 @@ nvdimm_dsm_no_payload(uint32_t func_ret_status, hwaddr dsm_mem_addr)#define NVDIMM_QEMU_RSVD_HANDLE_ROOT 0x10000 -/* Read FIT data, defined in docs/specs/acpi_nvdimm.txt. */ +/* Read FIT data, defined in docs/specs/acpi_nvdimm.rst. */ static void nvdimm_dsm_func_read_fit (NVDIMMState *state,NvdimmDsmIn *in,hwaddr dsm_mem_addr) {
hw/acpi/pcihp.c +1 -1
@@ -3,7 +3,7 @@* * QEMU supports PCI hotplug via ACPI. This module * implements the interface between QEMU and the ACPI BIOS. -* Interface specification - see docs/specs/acpi_pci_hotplug.txt +* Interface specification - see docs/specs/acpi_pci_hotplug.rst * * Copyright (c) 2013, Red Hat Inc, Michael S. Tsirkin ([email protected]) * Copyright (c) 2006 Fabrice Bellard
hw/acpi/vmgenid.c +3 -3
@@ -38,7 +38,7 @@ void vmgenid_build_acpi(VmGenIdState *vms, GArray *table_data, GArray *guid, guid_le =qemu_uuid_bswap (vms->guid);/* The GUID is written at a fixed offset into the fw_cfg file * in order to implement the "OVMF SDT Header probe suppressor" -* see docs/specs/vmgenid.txt for more details +* see docs/specs/vmgenid.rst for more details */ g_array_insert_vals (guid,VMGENID_GUID_OFFSET , guid_le.data,ARRAY_SIZE (guid_le.data));
@@ -101,7 +101,7 @@ void vmgenid_build_acpi(VmGenIdState *vms, GArray *table_data, GArray *guid,* < 4GB, but write 64 bits anyway. * The address that is patched in is offset in order to implement * the "OVMF SDT Header probe suppressor" -* see docs/specs/vmgenid.txt for more details. +* see docs/specs/vmgenid.rst for more details. */ bios_linker_loader_write_pointer(linker, VMGENID_ADDR_FW_CFG_FILE, 0, sizeof(uint64_t),
@@ -153,7 +153,7 @@ static void vmgenid_update_guest(VmGenIdState *vms) guid_le =qemu_uuid_bswap (vms->guid);/* The GUID is written at a fixed offset into the fw_cfg file * in order to implement the "OVMF SDT Header probe suppressor" -* see docs/specs/vmgenid.txt for more details. +* see docs/specs/vmgenid.rst for more details. */ cpu_physical_memory_write (vmgenid_addr, guid_le.data,sizeof (guid_le.data));
hw/misc/ivshmem-flat.c +1 -1
@@ -362,7 +362,7 @@ static bool ivshmem_flat_connect_server(DeviceState *dev, Error **errp)* * ivshmem_flat_recv_msg() calls return 'msg' and 'fd'. * -* See ./docs/specs/ivshmem-spec.txt for details on the protocol. +* See docs/specs/ivshmem-spec.rst for details on the protocol. */ /* Step 0 */
hw/ppc/spapr.c +1 -1
@@ -577,7 +577,7 @@ static int spapr_dt_dynamic_memory(SpaprMachineState *spapr, void *fdt,/* * Adds ibm,dynamic-reconfiguration-memory node. -* Refer to docs/specs/ppc-spapr-hotplug.txt for the documentation +* Refer to docs/specs/ppc-spapr-hotplug.rst for the documentation * of this device tree node. */ static int spapr_dt_dynamic_reconfiguration_memory(SpaprMachineState *spapr,
tests/qtest/vmgenid-test.c +1 -1
@@ -61,7 +61,7 @@ static uint32_t acpi_find_vgia(QTestState *qts)/* The GUID is written at a fixed offset into the fw_cfg file * in order to implement the "OVMF SDT Header probe suppressor" -* see docs/specs/vmgenid.txt for more details +* see docs/specs/vmgenid.rst for more details */ guid_offset =le32_to_cpu (vgia_val) +VMGENID_GUID_OFFSET ;g_free (table_aml);
Signature · 1 line
2.50.0
[PULL 8/9] target/s390x: A fix for the trouble with tribles
In reply to Thomas HuthFrom: Thomas Huth <[email protected]>
While Tribbles are cute, it should be "triple store" here, not "trible store".
Message-ID: <[email protected]>
--- target/s390x/cpu_features_def.h.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target/s390x/cpu_features_def.h.inc +1 -1
@@ -186,7 +186,7 @@ DEF_FEAT(PLO_CSO, "plo-cso", PLO, 25, "PLO Compare and swap (256 bit in paramete DEF_FEAT(PLO_DCSO, "plo-dcso", PLO, 26, "PLO Double compare and swap (256 bit in parameter list)") DEF_FEAT(PLO_CSSTO, "plo-cssto", PLO, 27, "PLO Compare and swap and store (256 bit in parameter list)") DEF_FEAT(PLO_CSDSTO, "plo-csdsto", PLO, 28, "PLO Compare and swap and double store (256 bit in parameter list)") -DEF_FEAT(PLO_CSTSTO, "plo-cststo", PLO, 29, "PLO Compare and swap and trible store (256 bit in parameter list)") +DEF_FEAT(PLO_CSTSTO, "plo-cststo", PLO, 29, "PLO Compare and swap and triple store (256 bit in parameter list)") DEF_FEAT(PLO_TCS, "plo-tcs", PLO, 30, "Triple compare and swap (32 bit in parameter list)") DEF_FEAT(PLO_TCSG, "plo-tcsg", PLO, 31, "Triple compare and swap (64 bit in parameter list)") DEF_FEAT(PLO_TCSX, "plo-tcsx", PLO, 32, "Triple compare and swap (128 bit in parameter list)")
Signature · 1 line
2.50.0
[PULL 7/9] target/s390x: set has_deprecated_props flag
In reply to Thomas HuthFrom: Collin Walling <[email protected]>
Now that the deprecated_props is an optional field, the expansion method must now set the "has_deprecated_props" flag in order for the data to be output from the response.
Message-ID: <[email protected]>
--- target/s390x/cpu_models_system.c | 3 +++ 1 file changed, 3 insertions(+)
target/s390x/cpu_models_system.c +3 -0
@@ -252,6 +252,9 @@ CpuModelExpansionInfo *qmp_query_cpu_model_expansion(CpuModelExpansionType type,s390_feat_bitmap_to_ascii (deprecated_feats, &expansion_info->deprecated_props, list_add_feat); + + expansion_info->has_deprecated_props = !!expansion_info->deprecated_props; +return expansion_info; }
Signature · 1 line
2.50.0
The following changes since commit 7698afc42b5af9e55f12ab2236618e38e5a1c23f:
Merge tag 'pull-target-arm-20250701-1' of https://gitlab.com/pm215/qemu into staging (2025-07-02 04:24:14 -0400)
are available in the Git repository at:
https://gitlab.com/thuth/qemu.git tags/pull-request-2025-07-02
for you to fetch changes up to 01e2b1bc27bae874bfeb6978ce093deac5bb9639:
tests/functional/test_aarch64_sbsaref_freebsd: Fix the URL of the ISO image (2025-07-02 18:29:57 +0200)
----------------------------------------------------------------
* Fix file names of renamed files in comments and MAINTAINERS
* Fix the "deprecated props" in QOM on s390x
* Fix URL of the aarch64_sbsaref_freebsd functional test
* Fix some trouble with trible
----------------------------------------------------------------
Collin L. Walling (1):
target/s390x: set has_deprecated_props flag
Sean Wei (6):
MAINTAINERS: update docs file extensions (.txt -> .rst)
MAINTAINERS: fix vendor capitalization (Vmware -> VMware)
MAINTAINERS: fix VMware filename typo (vwm -> vmw)
treewide: update docs file extensions (.txt -> .rst) in comments
treewide: fix paths for relocated files in comments
MAINTAINERS: fix paths for relocated filesThomas Huth (2):
target/s390x: A fix for the trouble with tribles tests/functional/test_aarch64_sbsaref_freebsd: Fix the URL of the ISO image
MAINTAINERS | 23 ++++++++++------------- docs/spin/tcg-exclusive.promela | 4 ++-- include/hw/acpi/pcihp.h | 2 +- include/hw/misc/ivshmem-flat.h | 2 +- target/s390x/cpu_features_def.h.inc | 2 +- hw/acpi/nvdimm.c | 2 +- hw/acpi/pcihp.c | 2 +- hw/acpi/vmgenid.c | 6 +++--- hw/misc/ivshmem-flat.c | 2 +- hw/nvme/ctrl.c | 2 +- hw/ppc/spapr.c | 2 +- target/arm/cpu.c | 2 +- target/s390x/cpu_models_system.c | 3 +++ tests/qtest/vmgenid-test.c | 2 +- target/loongarch/README | 2 +- tests/functional/test_aarch64_sbsaref_freebsd.py | 8 ++++---- 16 files changed, 33 insertions(+), 33 deletions(-)
[PULL 2/9] MAINTAINERS: fix vendor capitalization (Vmware -> VMware)
From: Sean Wei <[email protected]>
"VMware" is the vendor's official spelling. Adjust the spelling in MAINTAINERS for consistency.
Message-ID: <[email protected]>
--- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
@@ -2538,7 +2538,7 @@ F: net/eth.c F: hw/net/net_rx_pkt* F: hw/net/net_tx_pkt* -Vmware +VMware M: Dmitry Fleytman <[email protected]> S: Maintained F: docs/specs/vmw_pvscsi-spec.rst
Signature · 1 line
2.50.0
[PULL 6/9] MAINTAINERS: fix paths for relocated files
In reply to Thomas HuthFrom: Sean Wei <[email protected]>
Several files were renamed in previous commits, causing their entries in MAINTAINERS to reference outdated paths.
This prevents scripts/get_maintainer.pl from correctly matching these files to their maintainers.
Update the filenames to reflect their current locations so that maintainer lookup works properly.
Related commits
---------------
c45460decbd (Oct 2023)
hw/input/stellaris_input: Rename to stellaris_gamepad Rename include/hw/input/{gamepad.h => stellaris_gamepad.h}
4faf359accb (Nov 2020)
docs: Move virtio-net-failover.rst into the system manual Rename docs/{ => system}/virtio-net-failover.rst
89857312f32 (Apr 2024)
hw/usb: move stubs out of stubs/
Rename stubs/usb-dev-stub.c => hw/usb/bus-stub.c
f2604d8508a (Apr 2024)
hw/virtio: move stubs out of stubs/
Rename stubs/virtio-md-pci.c => hw/virtio/virtio-md-stubs.c
2c888febdfa (Apr 2024)
memory-device: move stubs out of stubs/
Rename stubs/memory_device.c => hw/mem/memory-device-stubs.c
d481cec7565 (Oct 2024)
migration: Move cpu-throttle.c from system to migration Rename {system => migration}/cpu-throttle.c
864a3fa4392 (Jan 2023)
monitor: Rename misc.c to hmp-target.c
Rename monitor/{misc.c => hmp-target.c}
Message-ID: <[email protected]>
--- MAINTAINERS | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-)
MAINTAINERS +6 -9
@@ -1007,7 +1007,7 @@ L: [email protected] S: Odd Fixes F: hw/*/stellaris* F: hw/display/ssd03* -F: include/hw/input/gamepad.h +F: include/hw/input/stellaris_gamepad.h F: include/hw/timer/stellaris-gptm.h F: docs/system/arm/stellaris.rst F: tests/functional/test_arm_stellaris.py
@@ -2173,7 +2173,7 @@ F: hw/net/ F: include/hw/net/ F: tests/qtest/virtio-net-test.c F: tests/functional/test_info_usernet.py -F: docs/virtio-net-failover.rst +F: docs/system/virtio-net-failover.rst T: git https://github.com/jasowang/qemu.git net Parallel NOR Flash devices
@@ -2224,7 +2224,6 @@ F: tests/qtest/sdhci-test.c USB S: Orphan F: hw/usb/* -F: stubs/usb-dev-stub.c F: tests/qtest/usb-*-test.c F: docs/system/devices/usb.rst F: include/hw/usb.h
@@ -2477,9 +2476,8 @@ S: Supported F: hw/s390x/virtio-ccw-md.c F: hw/s390x/virtio-ccw-md.h F: hw/s390x/virtio-ccw-md-stubs.c -F: hw/virtio/virtio-md-pci.c +F: hw/virtio/virtio-md-*.c F: include/hw/virtio/virtio-md-pci.h -F: stubs/virtio-md-pci.c virtio-mem M: David Hildenbrand <[email protected]>
@@ -3197,13 +3195,12 @@ M: David Hildenbrand <[email protected]> M: Igor Mammedov <[email protected]> R: Xiao Guangrong <[email protected]> S: Supported -F: hw/mem/memory-device.c +F: hw/mem/memory-device*.c F: hw/mem/nvdimm.c F: hw/mem/pc-dimm.c F: include/hw/mem/memory-device.h F: include/hw/mem/nvdimm.h F: include/hw/mem/pc-dimm.h -F: stubs/memory_device.c F: docs/nvdimm.txt SPICE
@@ -3244,9 +3241,9 @@ F: util/qemu-timer*.c F: system/vl.c F: system/main.c F: system/cpus.c -F: system/cpu-throttle.c F: system/cpu-timers.c F: system/runstate* +F: migration/cpu-throttle.c F: qapi/run-state.json Read, Copy, Update (RCU)
@@ -3265,7 +3262,7 @@ Human Monitor (HMP) M: Dr. David Alan Gilbert <[email protected]> S: Maintained F: monitor/monitor-internal.h -F: monitor/misc.c +F: monitor/hmp-target.c F: monitor/monitor.c F: monitor/hmp* F: hmp.h
Signature · 1 line
2.50.0
[PULL 9/9] tests/functional/test_aarch64_sbsaref_freebsd: Fix the URL of the ISO image
In reply to Thomas HuthFrom: Thomas Huth <[email protected]>
The original image has been removed from the server, so the test currently fails if it has to fetch the asset, but we can still download the ISO from the archive server. While we're at it, prefer the XZ compressed image, it's much smaller and thus the download should be faster.
Message-ID: <[email protected]>
--- tests/functional/test_aarch64_sbsaref_freebsd.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
tests/functional/test_aarch64_sbsaref_freebsd.py +4 -4
@@ -18,9 +18,9 @@ class Aarch64SbsarefFreeBSD(QemuSystemTest): ASSET_FREEBSD_ISO = Asset( - ('https://download.freebsd.org/releases/arm64/aarch64/ISO-IMAGES/' - '14.1/FreeBSD-14.1-RELEASE-arm64-aarch64-bootonly.iso'), - '44cdbae275ef1bb6dab1d5fbb59473d4f741e1c8ea8a80fd9e906b531d6ad461') + ('http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/arm64' + '/aarch64/ISO-IMAGES/14.1/FreeBSD-14.1-RELEASE-arm64-aarch64-bootonly.iso.xz'), + '7313a4495ffd71ab77b49b1e83f571521c32756e1d75bf48bd890e0ab0f75827') # This tests the whole boot chain from EFI to Userspace # We only boot a whole OS for the current top level CPU and GIC
@@ -29,7 +29,7 @@ def boot_freebsd14(self, cpu=None): self.set_machine('sbsa-ref') fetch_firmware(self) - img_path = self.ASSET_FREEBSD_ISO.fetch() + img_path = self.uncompress(self.ASSET_FREEBSD_ISO) self.vm.set_console() self.vm.add_args(
Signature · 1 line
2.50.0
[PULL 3/9] MAINTAINERS: fix VMware filename typo (vwm -> vmw)
In reply to Thomas HuthFrom: Sean Wei <[email protected]>
The entry for the VMware PVSCSI spec uses "vwm" instead of "vmw", which does not match any file in the tree.
Correct the path so scripts/get_maintainer.pl can match the file.
Message-ID: <[email protected]>
--- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
@@ -2549,7 +2549,7 @@ F: pc-bios/efi-vmxnet3.rom F: pc-bios/vgabios-vmware.bin F: roms/config.vga-vmware F: tests/qtest/vmxnet3-test.c -F: docs/specs/vwm_pvscsi-spec.rst +F: docs/specs/vmw_pvscsi-spec.rst Rocker M: Jiri Pirko <[email protected]>
Signature · 1 line
2.50.0
[PULL 1/9] MAINTAINERS: update docs file extensions (.txt -> .rst)
In reply to Thomas HuthFrom: Sean Wei <[email protected]>
The documentation tree has been converted to reStructuredText, but two entries in MAINTAINERS still point to the removed *.txt files.
This prevents scripts/get_maintainer.pl from matching the documents.
Update those entries to *.rst so the maintainer script works again.
Related commits:
8472cc5dbe6 (Sep 2023): docs/specs/vmw_pvscsi-spec: Convert to rST 8e72ceee5cd (Jun 2022): Rename docs/specs/fw_cfg.txt to .rst
Message-ID: <[email protected]>
--- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
MAINTAINERS +2 -2
@@ -2541,7 +2541,7 @@ F: hw/net/net_tx_pkt* Vmware M: Dmitry Fleytman <[email protected]> S: Maintained -F: docs/specs/vmw_pvscsi-spec.txt +F: docs/specs/vmw_pvscsi-spec.rst F: hw/display/vmware_vga.c F: hw/net/vmxnet* F: hw/scsi/vmw_pvscsi*
@@ -2746,7 +2746,7 @@ Firmware configuration (fw_cfg) M: Philippe Mathieu-Daudé <[email protected]> R: Gerd Hoffmann <[email protected]> S: Supported -F: docs/specs/fw_cfg.txt +F: docs/specs/fw_cfg.rst F: hw/nvram/fw_cfg*.c F: stubs/fw_cfg.c F: include/hw/nvram/fw_cfg.h
Signature · 1 line
2.50.0
[PULL 5/9] treewide: fix paths for relocated files in comments
In reply to Thomas HuthFrom: Sean Wei <[email protected]>
After the docs directory restructuring, several comments refer to paths that no longer exist.
Replace these references to the current file locations so readers can find the correct files.
Related commits
---------------
189c099f75f (Jul 2021)
docs: collect the disparate device emulation docs into one section Rename docs/system/{ => devices}/nvme.rst
5f4c96b779f (Feb 2023)
docs/system/loongarch: update loongson3.rst and rename it to virt.rst Rename docs/system/loongarch/{loongson3.rst => virt.rst}
fe0007f3c1d (Sep 2023)
exec: Rename cpu.c -> cpu-target.c
Rename cpus-common.c => cpu-common.c
42fa9665e59 (Apr 2025)
exec: Restrict 'cpu_ldst.h' to accel/tcg/ Rename include/{exec/cpu_ldst.h => accel/tcg/cpu-ldst.h}
Message-ID: <[email protected]>
--- docs/spin/tcg-exclusive.promela | 4 ++-- hw/nvme/ctrl.c | 2 +- target/arm/cpu.c | 2 +- target/loongarch/README | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-)
docs/spin/tcg-exclusive.promela +2 -2
@@ -1,6 +1,6 @@ /* * This model describes the implementation of exclusive sections in - * cpus-common.c (start_exclusive, end_exclusive, cpu_exec_start, + * cpu-common.c (start_exclusive, end_exclusive, cpu_exec_start, * cpu_exec_end). * * Author: Paolo Bonzini <[email protected]>
@@ -65,7 +65,7 @@ } #define COND_BROADCAST(c) c++ -// this is the logic from cpus-common.c +// this is the logic from cpu-common.c mutex_t mutex; cond_t exclusive_cond;
hw/nvme/ctrl.c +1 -1
@@ -22,7 +22,7 @@* * Usage * ----- -* See docs/system/nvme.rst for extensive documentation. +* See docs/system/devices/nvme.rst for extensive documentation. * * Add options: * -drive file=<file>,if=none,id=<drive_id>
target/arm/cpu.c +1 -1
@@ -2644,7 +2644,7 @@ static const char *arm_gdb_get_core_xml_file(CPUState *cs)* linux syscall TIF_TAGGED_ADDR setting, not TBI in general. * * There should be a better place to put this, but we need this in -* include/exec/cpu_ldst.h, and not some place linux-user specific. +* include/accel/tcg/cpu-ldst.h, and not some place linux-user specific. * * Note that arm-*-user will never set tagged_addr_enable. */
target/loongarch/README +1 -1
@@ -11,7 +11,7 @@ - System emulation - You can reference docs/system/loongarch/loongson3.rst to get the information about system emulation of LoongArch. + You can reference docs/system/loongarch/virt.rst to get the information about system emulation of LoongArch. - Linux-user emulation
Signature · 1 line
2.50.0
Stefan Hajnoczi
AppliedApplied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any user-visible changes.