mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 06:50:22 +03:00
qemu: add capability for RISC-V AIA feature
AIA (Advanced Interrupt Architecture) support was introduced in QEMU 7.0 for the 'virt' machine type. It allows the guest to choose from a more modern interrupt model than the default (CLINT - Core Logical Interrupt Controller). Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Martin Kletzander <mkletzan@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
3e9440dbcb
commit
34d7f53d1b
@ -725,6 +725,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
||||
|
||||
/* 470 */
|
||||
"migrate-incoming.exit-on-error", /* QEMU_CAPS_MIGRATE_INCOMING_EXIT_ON_ERROR */
|
||||
"machine.virt.aia", /* QEMU_CAPS_MACHINE_VIRT_AIA */
|
||||
);
|
||||
|
||||
|
||||
@ -1764,6 +1765,7 @@ static struct virQEMUCapsStringFlags virQEMUCapsMachinePropsPSeries[] = {
|
||||
static struct virQEMUCapsStringFlags virQEMUCapsMachinePropsVirt[] = {
|
||||
{ "iommu", QEMU_CAPS_MACHINE_VIRT_IOMMU },
|
||||
{ "ras", QEMU_CAPS_MACHINE_VIRT_RAS },
|
||||
{ "aia", QEMU_CAPS_MACHINE_VIRT_AIA },
|
||||
};
|
||||
|
||||
static struct virQEMUCapsStringFlags virQEMUCapsMachinePropsGeneric[] = {
|
||||
|
@ -704,6 +704,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
|
||||
/* 470 */
|
||||
QEMU_CAPS_MIGRATE_INCOMING_EXIT_ON_ERROR, /* exit-on-error argument of migrate-incoming command */
|
||||
QEMU_CAPS_MACHINE_VIRT_AIA, /* -machine virt,aia=(none|aplic|aplic-imsic), RISC-V only */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
@ -142,6 +142,7 @@
|
||||
<flag name='usb-mtp'/>
|
||||
<flag name='netdev.user'/>
|
||||
<flag name='snapshot-internal-qmp'/>
|
||||
<flag name='machine.virt.aia'/>
|
||||
<version>7002050</version>
|
||||
<microcodeVersion>0</microcodeVersion>
|
||||
<package>v7.2.0-333-g222059a0fc</package>
|
||||
|
@ -169,6 +169,7 @@
|
||||
<flag name='acpi-erst'/>
|
||||
<flag name='snapshot-internal-qmp'/>
|
||||
<flag name='migrate-incoming.exit-on-error'/>
|
||||
<flag name='machine.virt.aia'/>
|
||||
<version>9001000</version>
|
||||
<microcodeVersion>0</microcodeVersion>
|
||||
<package>v9.1.0</package>
|
||||
|
Loading…
x
Reference in New Issue
Block a user