mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-29 20:11:16 +00:00
qemu:: Introduce QEMU_CAPS_MACHINE_VIRT_MTE capability
The MTE feature (introduced in QEMU commit of v5.1.0-rc1~8^2~11) is detectable via 'qom-list-properties' for 'virt' machine type. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
720e8f13ff
commit
1347a19f75
@ -693,6 +693,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
|||||||
"virtio-gpu.blob", /* QEMU_CAPS_VIRTIO_GPU_BLOB */
|
"virtio-gpu.blob", /* QEMU_CAPS_VIRTIO_GPU_BLOB */
|
||||||
"rbd-encryption-layering", /* QEMU_CAPS_RBD_ENCRYPTION_LAYERING */
|
"rbd-encryption-layering", /* QEMU_CAPS_RBD_ENCRYPTION_LAYERING */
|
||||||
"rbd-encryption-luks-any", /* QEMU_CAPS_RBD_ENCRYPTION_LUKS_ANY */
|
"rbd-encryption-luks-any", /* QEMU_CAPS_RBD_ENCRYPTION_LUKS_ANY */
|
||||||
|
"machine.virt.mte", /* QEMU_CAPS_MACHINE_VIRT_MTE */
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
@ -1720,6 +1721,7 @@ static struct virQEMUCapsStringFlags virQEMUCapsMachinePropsPSeries[] = {
|
|||||||
|
|
||||||
static struct virQEMUCapsStringFlags virQEMUCapsMachinePropsVirt[] = {
|
static struct virQEMUCapsStringFlags virQEMUCapsMachinePropsVirt[] = {
|
||||||
{ "iommu", QEMU_CAPS_MACHINE_VIRT_IOMMU },
|
{ "iommu", QEMU_CAPS_MACHINE_VIRT_IOMMU },
|
||||||
|
{ "mte", QEMU_CAPS_MACHINE_VIRT_MTE },
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct virQEMUCapsStringFlags virQEMUCapsMachinePropsGeneric[] = {
|
static struct virQEMUCapsStringFlags virQEMUCapsMachinePropsGeneric[] = {
|
||||||
|
@ -672,6 +672,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
|||||||
QEMU_CAPS_VIRTIO_GPU_BLOB, /* -device virtio-gpu-*.blob= */
|
QEMU_CAPS_VIRTIO_GPU_BLOB, /* -device virtio-gpu-*.blob= */
|
||||||
QEMU_CAPS_RBD_ENCRYPTION_LAYERING, /* layered encryption support for Ceph RBD */
|
QEMU_CAPS_RBD_ENCRYPTION_LAYERING, /* layered encryption support for Ceph RBD */
|
||||||
QEMU_CAPS_RBD_ENCRYPTION_LUKS_ANY, /* luks-any (LUKS and LUKS2) encryption format for Ceph RBD */
|
QEMU_CAPS_RBD_ENCRYPTION_LUKS_ANY, /* luks-any (LUKS and LUKS2) encryption format for Ceph RBD */
|
||||||
|
QEMU_CAPS_MACHINE_VIRT_MTE, /* -machine virt,mte=* for ARM guests */
|
||||||
|
|
||||||
QEMU_CAPS_LAST /* this must always be the last item */
|
QEMU_CAPS_LAST /* this must always be the last item */
|
||||||
} virQEMUCapsFlags;
|
} virQEMUCapsFlags;
|
||||||
|
@ -130,6 +130,7 @@
|
|||||||
<flag name='virtio-net.rss'/>
|
<flag name='virtio-net.rss'/>
|
||||||
<flag name='usb-host.guest-resets-all'/>
|
<flag name='usb-host.guest-resets-all'/>
|
||||||
<flag name='virtio-crypto'/>
|
<flag name='virtio-crypto'/>
|
||||||
|
<flag name='machine.virt.mte'/>
|
||||||
<version>5002000</version>
|
<version>5002000</version>
|
||||||
<microcodeVersion>61700243</microcodeVersion>
|
<microcodeVersion>61700243</microcodeVersion>
|
||||||
<package>v5.2.0</package>
|
<package>v5.2.0</package>
|
||||||
|
@ -140,6 +140,7 @@
|
|||||||
<flag name='migration.blocked-reasons'/>
|
<flag name='migration.blocked-reasons'/>
|
||||||
<flag name='virtio-crypto'/>
|
<flag name='virtio-crypto'/>
|
||||||
<flag name='pvpanic-pci'/>
|
<flag name='pvpanic-pci'/>
|
||||||
|
<flag name='machine.virt.mte'/>
|
||||||
<version>6000000</version>
|
<version>6000000</version>
|
||||||
<microcodeVersion>61700242</microcodeVersion>
|
<microcodeVersion>61700242</microcodeVersion>
|
||||||
<package>v6.0.0</package>
|
<package>v6.0.0</package>
|
||||||
|
@ -153,6 +153,7 @@
|
|||||||
<flag name='virtio-crypto'/>
|
<flag name='virtio-crypto'/>
|
||||||
<flag name='pvpanic-pci'/>
|
<flag name='pvpanic-pci'/>
|
||||||
<flag name='virtio-gpu.blob'/>
|
<flag name='virtio-gpu.blob'/>
|
||||||
|
<flag name='machine.virt.mte'/>
|
||||||
<version>6001050</version>
|
<version>6001050</version>
|
||||||
<microcodeVersion>61700244</microcodeVersion>
|
<microcodeVersion>61700244</microcodeVersion>
|
||||||
<package></package>
|
<package></package>
|
||||||
|
@ -161,6 +161,7 @@
|
|||||||
<flag name='virtio-crypto'/>
|
<flag name='virtio-crypto'/>
|
||||||
<flag name='pvpanic-pci'/>
|
<flag name='pvpanic-pci'/>
|
||||||
<flag name='virtio-gpu.blob'/>
|
<flag name='virtio-gpu.blob'/>
|
||||||
|
<flag name='machine.virt.mte'/>
|
||||||
<version>6002092</version>
|
<version>6002092</version>
|
||||||
<microcodeVersion>61700243</microcodeVersion>
|
<microcodeVersion>61700243</microcodeVersion>
|
||||||
<package>v7.0.0-rc2</package>
|
<package>v7.0.0-rc2</package>
|
||||||
|
@ -161,6 +161,7 @@
|
|||||||
<flag name='virtio-crypto'/>
|
<flag name='virtio-crypto'/>
|
||||||
<flag name='pvpanic-pci'/>
|
<flag name='pvpanic-pci'/>
|
||||||
<flag name='virtio-gpu.blob'/>
|
<flag name='virtio-gpu.blob'/>
|
||||||
|
<flag name='machine.virt.mte'/>
|
||||||
<version>6002092</version>
|
<version>6002092</version>
|
||||||
<microcodeVersion>61700243</microcodeVersion>
|
<microcodeVersion>61700243</microcodeVersion>
|
||||||
<package>v7.0.0-rc2</package>
|
<package>v7.0.0-rc2</package>
|
||||||
|
Loading…
Reference in New Issue
Block a user