Libvirt Software Patches and Configurations#
Libvirt Patches#
This section provides information about the Libvirt patches that support I/O virtualization on the Grace platform.
Upstream Libvirt#
The tables in this section list Libvirt patches that are upstream, which means that the patches are accepted into the main Libvirt repository.
Note
There might be circumstances where additional, dependent patches are required to support these patches (for example, when the patch listed is part of a larger series). There might also be situations where not all of the patches in the series were taken upstream. These patches will be documented in a future mailing list discussion.
The mailing list discussion and Git description are pulled directly from their respective source and are intended to help with searches and comparisons. These strings might contain spelling and grammatical errors.
Libvirt I/O Virtualization: GPU Passthrough#
The following table contains patches that are required for Libvirt GPU virtualization support on the Grace platform. This support includes GPU passthrough and vGPU.
Libvirt ML Discussion |
Git Commit |
Git Description |
Minimum Libvirt Release |
|---|---|---|---|
qemu: Add capability for PCI high memory MMIO size |
v11.4 |
||
qemu: Add command line support for PCI high memory MMIO size |
|||
tests: Add pcihole64 test for virt machine |
|||
qemu: capabilies: Introduce QEMU_CAPS_ACPI_GENERIC_INITIATOR |
v11.8 |
||
qemu: Allow to define NUMA nodes without memory or CPUs assigned |
|||
conf: Add nodeset attribute to the <acpi> element |
|||
qemu: Validate acpi nodeset |
|||
qemu: Generate acpi-generic-initiator command from acpi nodeset |
|||
qemu: Add acpi-generic-initiator unit test |
|||
docs: Document acpi nodeset in hostdev |
Libvirt I/O Virtualization: Core SMMU#
The following table contains patches that are required for Libvirt core SMMU virtualization support on the Grace platform.
Libvirt ML Discussion |
Git Commit |
Git Description |
Minimum Libvirt Release |
|---|---|---|---|
conf: Support multiple device-pluggable smmuv3 IOMMUs |
11.10 |
||
qemu: Implement pluggable-device smmuv3 |
|||
qemu: Format IOMMU devices after controllers |
|||
tests: qemuxmlconfdata: provide device-pluggable smmuv3 sample XML and CLI args |
|||
tests: tests: add test for a single per-device smmuv3 |
v12.0 |
||
qemu: Use pci_bus to identify multi-smmuv3 model |
|||
qemu: Implement support for associating iommufd to hostdev |
v12.1 |
||
qemu: Introduce privateData for hostdevs |
|||
qemu: Support per-process memory accounting for iommufd |
|||
qemu: open VFIO FDs from libvirt backend |
|||
qemu: open iommufd FD from libvirt backend |
|||
qemu: Update Cgroup, namespace, and seclabel for iommufd |
|||
tests: qemuxmlconfdata: provide iommufd sample XML and CLI args |
Libvirt I/O Virtualization: General Fixes#
The following table contains patches that are required for Libvirt support on the Grace platform.
Libvirt ML Discussion |
Git Commit |
Git Description |
Minimum Libvirt Release |
|---|---|---|---|
util: Fix max socket calculation |
v12.1 |
||
qemu_process: Fix FD leak with multiple host devices using IOMMUFD |
|||
iommufd: fix FD leak in case of error |
v12.2 |
||
qemu: Fix IOMMUFD and VFIO security labels |