"backup",
"async-teardown",
"s390-pv",
+ "ps2",
);
static virClass *virDomainCapsClass;
VIR_DOMAIN_CAPS_FEATURE_BACKUP,
VIR_DOMAIN_CAPS_FEATURE_ASYNC_TEARDOWN,
VIR_DOMAIN_CAPS_FEATURE_S390_PV,
+ VIR_DOMAIN_CAPS_FEATURE_PS2,
VIR_DOMAIN_CAPS_FEATURE_LAST
} virDomainCapsFeature;
<optional>
<ref name="s390-pv"/>
</optional>
+ <optional>
+ <ref name="ps2"/>
+ </optional>
<optional>
<ref name="sev"/>
</optional>
</element>
</define>
+ <define name="ps2">
+ <element name="ps2">
+ <ref name="supported"/>
+ </element>
+ </define>
+
<define name="sev">
<element name="sev">
<ref name="supported"/>
}
}
+
+static void
+virQEMUCapsFillDomainFeaturePS2Caps(virQEMUCaps *qemuCaps,
+ virDomainCaps *domCaps)
+{
+ if (virQEMUCapsSupportsI8042Toggle(qemuCaps, domCaps->machine, domCaps->arch))
+ domCaps->features[VIR_DOMAIN_CAPS_FEATURE_PS2] = VIR_TRISTATE_BOOL_YES;
+ else
+ domCaps->features[VIR_DOMAIN_CAPS_FEATURE_PS2] = VIR_TRISTATE_BOOL_NO;
+}
+
+
/**
* virQEMUCapsFillDomainFeatureSGXCaps:
* @qemuCaps: QEMU capabilities
virQEMUCapsFillDomainFeatureGICCaps(qemuCaps, domCaps);
virQEMUCapsFillDomainFeatureSEVCaps(qemuCaps, domCaps);
virQEMUCapsFillDomainFeatureS390PVCaps(qemuCaps, domCaps);
+ virQEMUCapsFillDomainFeaturePS2Caps(qemuCaps, domCaps);
virQEMUCapsFillDomainFeatureSGXCaps(qemuCaps, domCaps);
virQEMUCapsFillDomainFeatureHypervCaps(qemuCaps, domCaps);
virQEMUCapsFillDomainDeviceCryptoCaps(qemuCaps, crypto);
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<s390-pv supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='yes'>
<cbitpos>47</cbitpos>
<reducedPhysBits>1</reducedPhysBits>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='yes'>
<cbitpos>47</cbitpos>
<reducedPhysBits>1</reducedPhysBits>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backup supported='no'/>
<async-teardown supported='no'/>
<s390-pv supported='yes'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='yes'>
<backingStoreInput supported='yes'/>
<backup supported='no'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='yes'>
<cbitpos>47</cbitpos>
<reducedPhysBits>1</reducedPhysBits>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='yes'>
<flc>no</flc>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='yes'>
<flc>no</flc>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='yes'>
<flc>no</flc>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='no'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>
<backup supported='yes'/>
<async-teardown supported='yes'/>
<s390-pv supported='yes'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='yes'>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
<s390-pv supported='yes'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='yes'>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
+ <ps2 supported='no'/>
<sev supported='no'/>
<sgx supported='no'/>
<launchSecurity supported='no'/>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>
<backingStoreInput supported='yes'/>
<backup supported='yes'/>
<async-teardown supported='yes'/>
+ <ps2 supported='yes'/>
<sev supported='no'/>
<sgx supported='no'/>
<hyperv supported='yes'>