1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00

conf: domcaps: Add 'async-teardown' domain capability

Add async-teardown to the features list in domain capabilities allowing
high level management to introspect the availability of the asynchronous
teardown feature.

Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Boris Fiuczynski 2023-07-17 17:12:08 +02:00 committed by Michal Privoznik
parent f5d4f5c8ee
commit aece25f665
74 changed files with 87 additions and 0 deletions

View File

@ -647,6 +647,7 @@ capabilities. All features occur as children of the main ``features`` element.
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
<sev>
<cbitpos>47</cbitpos>
<reduced-phys-bits>1</reduced-phys-bits>
@ -711,6 +712,11 @@ presence of the ``backup`` element even if ``supported='no'`` implies that the
``VIR_DOMAIN_UNDEFINE_CHECKPOINTS_METADATA`` flag for ``virDomainUndefine`` is
supported.
async-teardown
^^^^^^^^^^^^^^
Reports whether the asynchronous teardown feature can be enabled.
s390-pv capability
^^^^^^^^^^^^^^^^^^

View File

@ -40,6 +40,7 @@ VIR_ENUM_IMPL(virDomainCapsFeature,
"genid",
"backingStoreInput",
"backup",
"async-teardown",
"s390-pv",
);

View File

@ -248,6 +248,7 @@ typedef enum {
VIR_DOMAIN_CAPS_FEATURE_GENID,
VIR_DOMAIN_CAPS_FEATURE_BACKING_STORE_INPUT,
VIR_DOMAIN_CAPS_FEATURE_BACKUP,
VIR_DOMAIN_CAPS_FEATURE_ASYNC_TEARDOWN,
VIR_DOMAIN_CAPS_FEATURE_S390_PV,
VIR_DOMAIN_CAPS_FEATURE_LAST

View File

@ -300,6 +300,9 @@
<optional>
<ref name="backup"/>
</optional>
<optional>
<ref name="async-teardown"/>
</optional>
<optional>
<ref name="s390-pv"/>
</optional>
@ -315,6 +318,12 @@
</element>
</define>
<define name="async-teardown">
<element name="async-teardown">
<ref name="supported"/>
</element>
</define>
<define name="gic">
<element name="gic">
<ref name="supported"/>

View File

@ -6296,6 +6296,7 @@ static const struct virQEMUCapsDomainFeatureCapabilityTuple domCapsTuples[] = {
{ VIR_DOMAIN_CAPS_FEATURE_GENID, QEMU_CAPS_DEVICE_VMGENID },
{ VIR_DOMAIN_CAPS_FEATURE_BACKING_STORE_INPUT, QEMU_CAPS_LAST },
{ VIR_DOMAIN_CAPS_FEATURE_BACKUP, QEMU_CAPS_INCREMENTAL_BACKUP },
{ VIR_DOMAIN_CAPS_FEATURE_ASYNC_TEARDOWN, QEMU_CAPS_RUN_WITH_ASYNC_TEARDOWN },
};

View File

@ -248,6 +248,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -262,6 +262,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -194,6 +194,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -194,6 +194,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -162,6 +162,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -268,6 +268,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<s390-pv supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>

View File

@ -248,6 +248,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -250,6 +250,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -147,6 +147,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -264,6 +264,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -207,6 +207,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -150,6 +150,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -207,6 +207,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -169,6 +169,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -250,6 +250,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -251,6 +251,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -264,6 +264,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -133,6 +133,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -251,6 +251,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -251,6 +251,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -147,6 +147,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -264,6 +264,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -207,6 +207,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -150,6 +150,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -207,6 +207,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -169,6 +169,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -270,6 +270,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<s390-pv supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>

View File

@ -251,6 +251,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -253,6 +253,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='yes'>
<cbitpos>47</cbitpos>
<reducedPhysBits>1</reducedPhysBits>

View File

@ -267,6 +267,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='yes'>
<cbitpos>47</cbitpos>
<reducedPhysBits>1</reducedPhysBits>

View File

@ -209,6 +209,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -209,6 +209,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -271,6 +271,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<s390-pv supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>

View File

@ -253,6 +253,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<sev supported='yes'>
<cbitpos>47</cbitpos>
<reducedPhysBits>1</reducedPhysBits>

View File

@ -254,6 +254,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -267,6 +267,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -254,6 +254,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -254,6 +254,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -269,6 +269,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -216,6 +216,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -216,6 +216,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -168,6 +168,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -254,6 +254,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -170,6 +170,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -255,6 +255,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='yes'>
<flc>no</flc>

View File

@ -270,6 +270,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='yes'>
<flc>no</flc>

View File

@ -215,6 +215,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -215,6 +215,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -173,6 +173,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -255,6 +255,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='yes'>
<flc>no</flc>

View File

@ -254,6 +254,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -268,6 +268,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -166,6 +166,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -254,6 +254,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -177,6 +177,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -260,6 +260,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -258,6 +258,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -258,6 +258,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -152,6 +152,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -260,6 +260,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -261,6 +261,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>

View File

@ -153,6 +153,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -263,6 +263,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>

View File

@ -156,6 +156,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
</features>

View File

@ -261,6 +261,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>

View File

@ -262,6 +262,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>

View File

@ -262,6 +262,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>

View File

@ -278,6 +278,7 @@
<genid supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
<s390-pv supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>

View File

@ -262,6 +262,7 @@
<genid supported='yes'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>