mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
qemu: introduce QEMU_CAPS_MACHINE_VIRT_RAS capability
The capability can be used to detect if the qemu binary already supports 'ras' feature for 'virt' machine type. Signed-off-by: Kristina Hanicova <khanicov@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
8c80acdec0
commit
ffaf77a30d
@ -706,6 +706,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
||||
"blockjob.backing-mask-protocol", /* QEMU_CAPS_BLOCKJOB_BACKING_MASK_PROTOCOL */
|
||||
"display-reload", /* QEMU_CAPS_DISPLAY_RELOAD */
|
||||
"usb-mtp", /* QEMU_CAPS_DEVICE_USB_MTP */
|
||||
"machine.virt.ras", /* QEMU_CAPS_MACHINE_VIRT_RAS */
|
||||
);
|
||||
|
||||
|
||||
@ -1733,6 +1734,7 @@ static struct virQEMUCapsStringFlags virQEMUCapsMachinePropsPSeries[] = {
|
||||
|
||||
static struct virQEMUCapsStringFlags virQEMUCapsMachinePropsVirt[] = {
|
||||
{ "iommu", QEMU_CAPS_MACHINE_VIRT_IOMMU },
|
||||
{ "ras", QEMU_CAPS_MACHINE_VIRT_RAS },
|
||||
};
|
||||
|
||||
static struct virQEMUCapsStringFlags virQEMUCapsMachinePropsGeneric[] = {
|
||||
|
@ -685,6 +685,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
QEMU_CAPS_BLOCKJOB_BACKING_MASK_PROTOCOL, /* backing-mask-protocol of block-commit/block-stream */
|
||||
QEMU_CAPS_DISPLAY_RELOAD, /* 'display-reload' qmp command is supported */
|
||||
QEMU_CAPS_DEVICE_USB_MTP, /* -device usb-mtp */
|
||||
QEMU_CAPS_MACHINE_VIRT_RAS, /* -machine virt,ras= */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
@ -125,6 +125,7 @@
|
||||
<flag name='usb-host.guest-resets-all'/>
|
||||
<flag name='virtio-crypto'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<flag name='machine.virt.ras'/>
|
||||
<version>5002000</version>
|
||||
<microcodeVersion>61700243</microcodeVersion>
|
||||
<package>v5.2.0</package>
|
||||
|
@ -136,6 +136,7 @@
|
||||
<flag name='pvpanic-pci'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<flag name='machine.virt.ras'/>
|
||||
<version>6000000</version>
|
||||
<microcodeVersion>61700242</microcodeVersion>
|
||||
<package>v6.0.0</package>
|
||||
|
@ -149,6 +149,7 @@
|
||||
<flag name='virtio-gpu.blob'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<flag name='machine.virt.ras'/>
|
||||
<version>6001050</version>
|
||||
<microcodeVersion>61700244</microcodeVersion>
|
||||
<package></package>
|
||||
|
@ -157,6 +157,7 @@
|
||||
<flag name='virtio-gpu.blob'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<flag name='machine.virt.ras'/>
|
||||
<version>6002092</version>
|
||||
<microcodeVersion>61700243</microcodeVersion>
|
||||
<package>v7.0.0-rc2</package>
|
||||
|
@ -157,6 +157,7 @@
|
||||
<flag name='virtio-gpu.blob'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<flag name='machine.virt.ras'/>
|
||||
<version>6002092</version>
|
||||
<microcodeVersion>61700243</microcodeVersion>
|
||||
<package>v7.0.0-rc2</package>
|
||||
|
@ -165,6 +165,7 @@
|
||||
<flag name='virtio-mem-pci.dynamic-memslots'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<flag name='machine.virt.ras'/>
|
||||
<version>8002000</version>
|
||||
<microcodeVersion>61700246</microcodeVersion>
|
||||
<package>v8.2.0</package>
|
||||
|
@ -172,6 +172,7 @@
|
||||
<flag name='virtio-mem-pci.dynamic-memslots'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<flag name='machine.virt.ras'/>
|
||||
<version>8002000</version>
|
||||
<microcodeVersion>0</microcodeVersion>
|
||||
<package>qemu-8.2.0-7.fc39</package>
|
||||
|
Loading…
Reference in New Issue
Block a user