mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-12-02 12:24:29 +03:00
qemu: Introduce mshv capabilities
This capability indicates if qemu supports mshv as an accelerator. Qemu with mshv capabilities can launch domains of type VIR_DOMAIN_VIRT_HYPERV. Signed-off-by: Praveen K Paladugu <prapal@linux.microsoft.com> Reviewed-by: Martin Kletzander <mkletzan@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
committed by
Martin Kletzander
parent
029933be86
commit
3b7edf755d
@@ -748,6 +748,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
||||
"acpi-generic-initiator", /* QEMU_CAPS_ACPI_GENERIC_INITIATOR */
|
||||
"disk-timed-stats", /* QEMU_CAPS_DISK_TIMED_STATS */
|
||||
"query-accelerators", /* QEMU_CAPS_QUERY_ACCELERATORS */
|
||||
"mshv", /* QEMU_CAPS_MSHV */
|
||||
);
|
||||
|
||||
|
||||
|
||||
@@ -729,6 +729,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
QEMU_CAPS_ACPI_GENERIC_INITIATOR, /* -object acpi-generic-initiator */
|
||||
QEMU_CAPS_DISK_TIMED_STATS, /* timed stats support ('stats-intervals' property of disk frontends) */
|
||||
QEMU_CAPS_QUERY_ACCELERATORS, /* query-accelerators command */
|
||||
QEMU_CAPS_MSHV, /* -accel mshv */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
||||
Reference in New Issue
Block a user