[PATCH RESEND 0/6] Add support for configuring PCI high memory MMIO size

2025-04-11 Thread Matthew R. Ochs via Devel
Resending: Series has been re-based over latest upstream. This patch series adds support for configuring the PCI high memory MMIO window size for aarch64 virt machine types. This feature has been merged into the QEMU upstream master branch [1] and will be available in QEMU 10.0. It allows users to

[PATCH RESEND 1/6] domain: Add PCI configuration feature infrastructure

2025-04-11 Thread Matthew R. Ochs via Devel
Add basic infrastructure for PCI configuration feature including: - New PCI configuration structure in domain_conf.h - Add VIR_DOMAIN_FEATURE_PCI enum and string conversion - Add pci field to virDomainDef to store PCI configuration This will be used to support QEMU's highmem-mmio-size machine prop

[PATCH RESEND 2/6] schema: Add PCI configuration feature schema

2025-04-11 Thread Matthew R. Ochs via Devel
Add schema definition for PCI configuration feature including: - Add element under - Add element with scaledInteger type - Support unit attribute for size specification This allows XML configuration of PCI high memory MMIO size for aarch64 virt machines. Signed-off-by: Matthew R. Ochs --- sr

[PATCH RESEND 4/6] qemu: Add capability for PCI high memory MMIO size

2025-04-11 Thread Matthew R. Ochs via Devel
Add QEMU capability for PCI high memory MMIO size configuration: - Add QEMU_CAPS_MACHINE_VIRT_HIGHMEM_MMIO_SIZE capability - Add capability to virt machine properties - Add highmem-mmio-size virt machine property to aarch64 qemu 10.0.0 capabilities This allows detecting support for the highmem-m

[PATCH RESEND 5/6] qemu: Add command line support for PCI high memory MMIO size

2025-04-11 Thread Matthew R. Ochs via Devel
Add support for generating QEMU command line with PCI high memory MMIO size: - Add highmem-mmio-size to machine command line generation - Add validation for aarch64/virt machine type requirement - Add capability check for QEMU support - Add feature validation in qemu_validate.c This enables config

[PATCH RESEND 6/6] tests: Add tests for machine PCI features

2025-04-11 Thread Matthew R. Ochs via Devel
Add test coverage for machine-specific PCI features: - Add XML tests for aarch64 virt highmem-mmio-size - Add command line generation tests This ensures proper handling of machine-specific PCI features like the high memory MMIO window size configuration. Signed-off-by: Matthew R. Ochs --- ...rc

[PATCH RESEND 3/6] conf: Add PCI configuration XML parsing and formatting

2025-04-11 Thread Matthew R. Ochs via Devel
Add XML parsing and formatting support for PCI configuration: - Add virDomainFeaturesPCIDefParseXML function - Add virDomainFeaturesPCIDefFormat function - Wire up parsing in virDomainFeaturesDefParse - Wire up formatting in virDomainDefFormatFeatures - Use g_steal_pointer for memory management Th

[PATCH 0/6] Add support for configuring PCI high memory MMIO size

2025-03-03 Thread Matthew R. Ochs via Devel
This patch series adds support for configuring the PCI high memory MMIO window size for aarch64 virt machine types. This feature has been merged into the QEMU upstream staging branch [1] and will be available in QEMU 10.0. It allows users to configure the size of the high memory MMIO window above 4

[PATCH 3/6] conf: Add PCI configuration XML parsing and formatting

2025-03-03 Thread Matthew R. Ochs via Devel
Add XML parsing and formatting support for PCI configuration: - Add virDomainFeaturesPCIDefParseXML function - Add virDomainFeaturesPCIDefFormat function - Wire up parsing in virDomainFeaturesDefParse - Wire up formatting in virDomainDefFormatFeatures - Use g_steal_pointer for memory management Th

[PATCH 1/6] domain: Add PCI configuration feature infrastructure

2025-03-03 Thread Matthew R. Ochs via Devel
Add basic infrastructure for PCI configuration feature including: - New PCI configuration structure in domain_conf.h - Add VIR_DOMAIN_FEATURE_PCI enum and string conversion - Add pci field to virDomainDef to store PCI configuration This will be used to support QEMU's highmem-mmio-size machine prop

[PATCH 5/6] qemu: Add command line support for PCI high memory MMIO size

2025-03-03 Thread Matthew R. Ochs via Devel
Add support for generating QEMU command line with PCI high memory MMIO size: - Add highmem-mmio-size to machine command line generation - Add validation for aarch64/virt machine type requirement - Add capability check for QEMU support - Add feature validation in qemu_validate.c This enables config

[PATCH 6/6] tests: Add tests for machine PCI features

2025-03-03 Thread Matthew R. Ochs via Devel
Add test coverage for machine-specific PCI features: - Add XML tests for aarch64 virt highmem-mmio-size - Add command line generation tests This ensures proper handling of machine-specific PCI features like the high memory MMIO window size configuration. Signed-off-by: Matthew R. Ochs --- ...rc

[PATCH 2/6] schema: Add PCI configuration feature schema

2025-03-03 Thread Matthew R. Ochs via Devel
Add schema definition for PCI configuration feature including: - Add element under - Add element with scaledInteger type - Support unit attribute for size specification This allows XML configuration of PCI high memory MMIO size for aarch64 virt machines. Signed-off-by: Matthew R. Ochs --- sr

[PATCH 4/6] qemu: Add capability for PCI high memory MMIO size

2025-03-03 Thread Matthew R. Ochs via Devel
Add QEMU capability for PCI high memory MMIO size configuration: - Add QEMU_CAPS_MACHINE_VIRT_HIGHMEM_MMIO_SIZE capability - Add capability to virt machine properties - Add highmem-mmio-size virt machine property to aarch64 qemu 10.0.0 capabilities This allows detecting support for the highmem-m

[PATCH RESEND 0/6] Add support for configuring PCI high memory MMIO size

2025-03-07 Thread Matthew R. Ochs via Devel
Resending this series since it appears my first attempt was not sent to the list due to the "first post" manual moderation delay. =) This patch series adds support for configuring the PCI high memory MMIO window size for aarch64 virt machine types. This feature was recently merged into the QEMU up

[PATCH RESEND 1/6] domain: Add PCI configuration feature infrastructure

2025-03-07 Thread Matthew R. Ochs via Devel
Add basic infrastructure for PCI configuration feature including: - New PCI configuration structure in domain_conf.h - Add VIR_DOMAIN_FEATURE_PCI enum and string conversion - Add pci field to virDomainDef to store PCI configuration This will be used to support QEMU's highmem-mmio-size machine prop

[PATCH RESEND 3/6] conf: Add PCI configuration XML parsing and formatting

2025-03-07 Thread Matthew R. Ochs via Devel
Add XML parsing and formatting support for PCI configuration: - Add virDomainFeaturesPCIDefParseXML function - Add virDomainFeaturesPCIDefFormat function - Wire up parsing in virDomainFeaturesDefParse - Wire up formatting in virDomainDefFormatFeatures - Use g_steal_pointer for memory management Th

[PATCH RESEND 2/6] schema: Add PCI configuration feature schema

2025-03-07 Thread Matthew R. Ochs via Devel
Add schema definition for PCI configuration feature including: - Add element under - Add element with scaledInteger type - Support unit attribute for size specification This allows XML configuration of PCI high memory MMIO size for aarch64 virt machines. Signed-off-by: Matthew R. Ochs --- sr

[PATCH RESEND 5/6] qemu: Add command line support for PCI high memory MMIO size

2025-03-07 Thread Matthew R. Ochs via Devel
Add support for generating QEMU command line with PCI high memory MMIO size: - Add highmem-mmio-size to machine command line generation - Add validation for aarch64/virt machine type requirement - Add capability check for QEMU support - Add feature validation in qemu_validate.c This enables config

[PATCH RESEND 6/6] tests: Add tests for machine PCI features

2025-03-07 Thread Matthew R. Ochs via Devel
Add test coverage for machine-specific PCI features: - Add XML tests for aarch64 virt highmem-mmio-size - Add command line generation tests This ensures proper handling of machine-specific PCI features like the high memory MMIO window size configuration. Signed-off-by: Matthew R. Ochs --- ...rc

[PATCH RESEND 4/6] qemu: Add capability for PCI high memory MMIO size

2025-03-07 Thread Matthew R. Ochs via Devel
Add QEMU capability for PCI high memory MMIO size configuration: - Add QEMU_CAPS_MACHINE_VIRT_HIGHMEM_MMIO_SIZE capability - Add capability to virt machine properties - Add highmem-mmio-size virt machine property to aarch64 qemu 10.0.0 capabilities This allows detecting support for the highmem-m

[PATCH 0/2] tests: Add capabilities for QEMU 10.0 on aarch64

2025-05-07 Thread Matthew R. Ochs via Devel
This is a refresh of a series that Andrea Bolognani posted in February 2025 [1] and provides aarch64 capability support for QEMU v10.0.0. [1] https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/Z4NQ3CVQYLNGZRBC35CUHOQ2EXJROPYG Signed-off-by: Matthew R. Ochs Matthew R. Ochs (

[PATCH 1/2] tests: Use collie instead of borzoi for aarch64 tests

2025-05-07 Thread Matthew R. Ochs via Devel
The borzoi machine type was dropped in QEMU 9.2.0, so let's use a different machine type with no ACPI support and no implicit USB controller instead. Signed-off-by: Matthew R. Ochs --- tests/qemuxmlconfdata/aarch64-noacpi-acpi.aarch64-latest.err| 2 +- tests/qemuxmlconfdata/aarch64-noacpi-ac

[PATCH v2 0/3] Add virt machine support for configuring PCI high memory MMIO size

2025-05-14 Thread Matthew R. Ochs via Devel
This patch series adds support for configuring the PCI high memory MMIO window size for aarch64 virt machine types using the highmem-mmio-size feature introduced in QEMU v10.0.0 [1]. It allows users to configure the size of the high memory MMIO window above 4GB, which can be required to support PCI

[PATCH v2 3/3] tests: Add pcihole64 test for virt machine

2025-05-14 Thread Matthew R. Ochs via Devel
Add a pcihole64 test for the aarch64 virt machine that verifies the value is propagated to the highmem-mmio-size virt machine parameter. Signed-off-by: Matthew R. Ochs --- .../pcihole64-virt.aarch64-latest.args| 31 +++ .../pcihole64-virt.aarch64-latest.xml | 29 +

[PATCH v2 2/3] qemu: Add command line support for PCI high memory MMIO size

2025-05-14 Thread Matthew R. Ochs via Devel
Add support for generating QEMU command line with PCI high memory MMIO size: - Add highmem-mmio-size to machine command line generation using size conveyed through pcihole64 - Add validation for aarch64/virt machine type requirement - Add capability check for QEMU support This en

[PATCH v2 1/3] qemu: Add capability for PCI high memory MMIO size

2025-05-14 Thread Matthew R. Ochs via Devel
Add QEMU capability for PCI high memory MMIO size configuration: - Add QEMU_CAPS_MACHINE_VIRT_HIGHMEM_MMIO_SIZE capability - Add capability to virt machine properties - Add highmem-mmio-size virt machine property to aarch64 qemu 10.0.0 capabilities This allows detecting support for the highm

[PATCH v3 0/3] Add virt machine support for configuring PCI high memory MMIO size

2025-05-15 Thread Matthew R. Ochs via Devel
This patch series adds support for configuring the PCI high memory MMIO window size for aarch64 virt machine types using the highmem-mmio-size feature introduced in QEMU v10.0.0 [1]. It allows users to configure the size of the high memory MMIO window above 4GB, which can be required to support PCI

[PATCH v3 2/3] qemu: Add command line support for PCI high memory MMIO size

2025-05-15 Thread Matthew R. Ochs via Devel
Add support for generating QEMU command line with PCI high memory MMIO size: - Add highmem-mmio-size to machine command line generation using size conveyed through pcihole64 - Add validation for aarch64/virt machine type requirement - Add capability check for QEMU support This en

[PATCH v3 3/3] tests: Add pcihole64 test for virt machine

2025-05-15 Thread Matthew R. Ochs via Devel
Add a pcihole64 test for the aarch64 virt machine that verifies the value is propagated to the highmem-mmio-size virt machine parameter. Signed-off-by: Matthew R. Ochs Reviewed-by: Daniel P. Berrangé --- .../pcihole64-virt.aarch64-latest.args| 31 +++ .../pcihole64-virt.

[PATCH v3 1/3] qemu: Add capability for PCI high memory MMIO size

2025-05-15 Thread Matthew R. Ochs via Devel
Add QEMU capability for PCI high memory MMIO size configuration: - Add QEMU_CAPS_MACHINE_VIRT_HIGHMEM_MMIO_SIZE capability - Add capability to virt machine properties - Add highmem-mmio-size virt machine property to aarch64 qemu 10.0.0 capabilities This allows detecting support for the highm