mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
qemu_capabilities: Introduce QEMU_CAPS_INTEL_IOMMU_DMA_TRANSLATION
This capability tracks whether intel-iommu device has dma-translation attribute. Signed-off-by: Sandesh Patel <sandesh.patel@nutanix.com> Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
11f6773f19
commit
b2cc19e5fd
@ -713,6 +713,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
||||
"sev-snp-guest", /* QEMU_CAPS_SEV_SNP_GUEST */
|
||||
"netdev.user", /* QEMU_CAPS_NETDEV_USER */
|
||||
"acpi-erst", /* QEMU_CAPS_DEVICE_ACPI_ERST */
|
||||
"intel-iommu.dma-translation", /* QEMU_CAPS_INTEL_IOMMU_DMA_TRANSLATION */
|
||||
);
|
||||
|
||||
|
||||
@ -1516,6 +1517,7 @@ static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsIntelIOMMU[] = {
|
||||
{ "eim", QEMU_CAPS_INTEL_IOMMU_EIM, NULL },
|
||||
{ "device-iotlb", QEMU_CAPS_INTEL_IOMMU_DEVICE_IOTLB, NULL },
|
||||
{ "aw-bits", QEMU_CAPS_INTEL_IOMMU_AW_BITS, NULL },
|
||||
{ "dma-translation", QEMU_CAPS_INTEL_IOMMU_DMA_TRANSLATION, NULL },
|
||||
};
|
||||
|
||||
static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsMCH[] = {
|
||||
|
@ -692,6 +692,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
QEMU_CAPS_SEV_SNP_GUEST, /* -object sev-snp-guest */
|
||||
QEMU_CAPS_NETDEV_USER, /* -netdev user */
|
||||
QEMU_CAPS_DEVICE_ACPI_ERST, /* -device acpi-erst */
|
||||
QEMU_CAPS_INTEL_IOMMU_DMA_TRANSLATION, /* intel-iommu.dma-translation */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
@ -192,6 +192,7 @@
|
||||
<flag name='usb-mtp'/>
|
||||
<flag name='netdev.user'/>
|
||||
<flag name='acpi-erst'/>
|
||||
<flag name='intel-iommu.dma-translation'/>
|
||||
<version>7001000</version>
|
||||
<microcodeVersion>43100244</microcodeVersion>
|
||||
<package>v7.1.0</package>
|
||||
|
@ -196,6 +196,7 @@
|
||||
<flag name='usb-mtp'/>
|
||||
<flag name='netdev.user'/>
|
||||
<flag name='acpi-erst'/>
|
||||
<flag name='intel-iommu.dma-translation'/>
|
||||
<version>7002000</version>
|
||||
<microcodeVersion>43100245</microcodeVersion>
|
||||
<package>v7.2.0</package>
|
||||
|
@ -196,6 +196,7 @@
|
||||
<flag name='usb-mtp'/>
|
||||
<flag name='netdev.user'/>
|
||||
<flag name='acpi-erst'/>
|
||||
<flag name='intel-iommu.dma-translation'/>
|
||||
<version>7002000</version>
|
||||
<microcodeVersion>43100245</microcodeVersion>
|
||||
<package>v7.2.0</package>
|
||||
|
@ -200,6 +200,7 @@
|
||||
<flag name='usb-mtp'/>
|
||||
<flag name='netdev.user'/>
|
||||
<flag name='acpi-erst'/>
|
||||
<flag name='intel-iommu.dma-translation'/>
|
||||
<version>8000000</version>
|
||||
<microcodeVersion>43100244</microcodeVersion>
|
||||
<package>v8.0.0</package>
|
||||
|
@ -202,6 +202,7 @@
|
||||
<flag name='usb-mtp'/>
|
||||
<flag name='netdev.user'/>
|
||||
<flag name='acpi-erst'/>
|
||||
<flag name='intel-iommu.dma-translation'/>
|
||||
<version>8001000</version>
|
||||
<microcodeVersion>43100245</microcodeVersion>
|
||||
<package>v8.1.0</package>
|
||||
|
@ -205,6 +205,7 @@
|
||||
<flag name='virtio-sound'/>
|
||||
<flag name='netdev.user'/>
|
||||
<flag name='acpi-erst'/>
|
||||
<flag name='intel-iommu.dma-translation'/>
|
||||
<version>8002000</version>
|
||||
<microcodeVersion>43100246</microcodeVersion>
|
||||
<package>v8.2.0</package>
|
||||
|
@ -207,6 +207,7 @@
|
||||
<flag name='virtio-sound'/>
|
||||
<flag name='netdev.user'/>
|
||||
<flag name='acpi-erst'/>
|
||||
<flag name='intel-iommu.dma-translation'/>
|
||||
<version>9000000</version>
|
||||
<microcodeVersion>43100245</microcodeVersion>
|
||||
<package>v9.0.0</package>
|
||||
|
@ -205,6 +205,7 @@
|
||||
<flag name='virtio-sound'/>
|
||||
<flag name='netdev.user'/>
|
||||
<flag name='acpi-erst'/>
|
||||
<flag name='intel-iommu.dma-translation'/>
|
||||
<version>9000050</version>
|
||||
<microcodeVersion>43100246</microcodeVersion>
|
||||
<package>v9.0.0-1388-g80e8f06021-dirty</package>
|
||||
|
Loading…
Reference in New Issue
Block a user