diff options
| author | Simon Rettberg | 2025-01-22 14:31:10 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2025-01-22 14:31:10 +0100 |
| commit | 55e96d237c53aac356fac2b26fb6e17e5bf15a94 (patch) | |
| tree | 14ce0eaa4f905bc85b059fffb2da194512179756 /src/main/resources/libvirt/rng/domaincommon.rng | |
| parent | [libvirt] source address in hostdev must not contain attribute "type" (diff) | |
| download | master-sync-shared-55e96d2.tar.gz master-sync-shared-55e96d2.tar.xz master-sync-shared-55e96d2.zip | |
[libvirt] Update rng files (v11.0.0)
Diffstat (limited to 'src/main/resources/libvirt/rng/domaincommon.rng')
| -rw-r--r-- | src/main/resources/libvirt/rng/domaincommon.rng | 304 |
1 files changed, 269 insertions, 35 deletions
diff --git a/src/main/resources/libvirt/rng/domaincommon.rng b/src/main/resources/libvirt/rng/domaincommon.rng index d84e030..7121519 100644 --- a/src/main/resources/libvirt/rng/domaincommon.rng +++ b/src/main/resources/libvirt/rng/domaincommon.rng @@ -348,6 +348,11 @@ <attribute name="template"> <ref name="absFilePath"/> </attribute> + <optional> + <attribute name="templateFormat"> + <ref name="pflashFormatTypes"/> + </attribute> + </optional> </optional> <optional> <ref name="pflashFormat"/> @@ -516,6 +521,9 @@ <ref name="launchSecuritySEV"/> </group> <group> + <ref name="launchSecuritySEVSNP"/> + </group> + <group> <attribute name="type"> <value>s390-pv</value> </attribute> @@ -524,6 +532,19 @@ </element> </define> + <define name="launchSecuritySEVCommon"> + <optional> + <element name="cbitpos"> + <data type="unsignedInt"/> + </element> + </optional> + <optional> + <element name="reducedPhysBits"> + <data type="unsignedInt"/> + </element> + </optional> + </define> + <define name="launchSecuritySEV"> <attribute name="type"> <value>sev</value> @@ -534,37 +555,74 @@ </attribute> </optional> <interleave> + <ref name="launchSecuritySEVCommon"/> + <element name="policy"> + <ref name="hexuint"/> + </element> + <optional> + <element name="handle"> + <ref name="unsignedInt"/> + </element> + </optional> <optional> - <element name="cbitpos"> - <data type="unsignedInt"/> + <element name="dhCert"> + <data type="string"/> </element> </optional> <optional> - <element name="reducedPhysBits"> - <data type="unsignedInt"/> + <element name="session"> + <data type="string"/> </element> </optional> + </interleave> + </define> + + <define name="launchSecuritySEVSNP"> + <attribute name="type"> + <value>sev-snp</value> + </attribute> + <optional> + <attribute name="kernelHashes"> + <ref name="virYesNo"/> + </attribute> + </optional> + <optional> + <attribute name="authorKey"> + <ref name="virYesNo"/> + </attribute> + </optional> + <optional> + <attribute name="vcek"> + <ref name="virYesNo"/> + </attribute> + </optional> + <interleave> + <ref name="launchSecuritySEVCommon"/> <element name="policy"> <ref name="hexuint"/> </element> <optional> - <element name="handle"> - <ref name="unsignedInt"/> + <element name="guestVisibleWorkarounds"> + <data type="string"/> </element> </optional> <optional> - <element name="dhCert"> + <element name="idBlock"> <data type="string"/> </element> </optional> <optional> - <element name="session"> + <element name="idAuth"> + <data type="string"/> + </element> + </optional> + <optional> + <element name="hostData"> <data type="string"/> </element> </optional> </interleave> </define> - <!-- Enable or disable perf events for the domain. For each of the events the following rules apply: @@ -1799,6 +1857,15 @@ </element> </element> </optional> + <optional> + <element name="dataStore"> + <interleave> + <ref name="diskFormat"/> + <ref name="diskSource"/> + </interleave> + </element> + </optional> + <ref name="privateDataStorageSource"/> </define> @@ -1943,18 +2010,20 @@ </define> <define name="diskSourceNetworkNFS"> - <element name="identity"> - <optional> - <attribute name="user"> - <ref name="genericName"/> - </attribute> - </optional> - <optional> - <attribute name="group"> - <ref name="genericName"/> - </attribute> - </optional> - </element> + <optional> + <element name="identity"> + <optional> + <attribute name="user"> + <ref name="genericName"/> + </attribute> + </optional> + <optional> + <attribute name="group"> + <ref name="genericName"/> + </attribute> + </optional> + </element> + </optional> </define> <define name="diskSourceNetworkProtocolRBD"> @@ -3327,6 +3396,15 @@ </optional> </element> </optional> + <optional> + <element name="openfiles"> + <optional> + <attribute name="max"> + <data type="positiveInteger"/> + </attribute> + </optional> + </element> + </optional> </interleave> </element> </define> @@ -3631,15 +3709,21 @@ <attribute name="switchid"> <ref name="UUID"/> </attribute> - <attribute name="portid"> - <data type="long"/> - </attribute> - <attribute name="portgroupid"> - <data type="string"/> - </attribute> - <attribute name="connectionid"> - <data type="long"/> - </attribute> + <optional> + <attribute name="portid"> + <data type="long"/> + </attribute> + </optional> + <optional> + <attribute name="portgroupid"> + <data type="string"/> + </attribute> + </optional> + <optional> + <attribute name="connectionid"> + <data type="long"/> + </attribute> + </optional> </element> <ref name="interface-options"/> </interleave> @@ -3773,6 +3857,7 @@ <optional> <attribute name="type"> <choice> + <value>default</value> <value>passt</value> </choice> </attribute> @@ -5062,6 +5147,7 @@ <value>ich7</value> <value>ich9</value> <value>usb</value> + <value>virtio</value> </choice> </attribute> <optional> @@ -5069,6 +5155,11 @@ <ref name="virYesNo"/> </attribute> </optional> + <optional> + <attribute name="streams"> + <ref name="uint32"/> + </attribute> + </optional> <interleave> <optional> <ref name="alias"/> @@ -5089,6 +5180,11 @@ <zeroOrMore> <ref name="codec"/> </zeroOrMore> + <optional> + <element name="driver"> + <ref name="virtioOptions"/> + </element> + </optional> </interleave> </element> </define> @@ -5843,12 +5939,19 @@ <interleave> <ref name="tpm-backend-emulator-encryption"/> <ref name="tpm-backend-emulator-active-pcr-banks"/> + <ref name="tpm-backend-emulator-source"/> + <ref name="tpm-backend-emulator-profile"/> </interleave> <optional> <attribute name="persistent_state"> <ref name="virYesNo"/> </attribute> </optional> + <optional> + <attribute name="debug"> + <ref name="uint8"/> + </attribute> + </optional> </group> <group> <attribute name="type"> @@ -5896,6 +5999,31 @@ </optional> </define> + <define name="tpm-backend-emulator-source"> + <optional> + <element name="source"> + <choice> + <group> + <attribute name="type"> + <value>file</value> + </attribute> + <attribute name="path"> + <ref name="absFilePath"/> + </attribute> + </group> + <group> + <attribute name="type"> + <value>dir</value> + </attribute> + <attribute name="path"> + <ref name="absDirPath"/> + </attribute> + </group> + </choice> + </element> + </optional> + </define> + <define name="tpm-backend-emulator-encryption"> <optional> <element name="encryption"> @@ -5935,6 +6063,37 @@ </optional> </define> + <define name="profileName"> + <data type="string"> + <param name="pattern">[A-Za-z0-9.\-:]+</param> + </data> + </define> + + <define name="tpm-backend-emulator-profile"> + <optional> + <element name="profile"> + <optional> + <attribute name="source"> + <ref name="profileName"/> + </attribute> + </optional> + <optional> + <attribute name="removeDisabled"> + <choice> + <value>check</value> + <value>fips-host</value> + </choice> + </attribute> + </optional> + <optional> + <attribute name="name"> + <ref name="profileName"/> + </attribute> + </optional> + </element> + </optional> + </define> + <define name="vsock"> <element name="vsock"> <optional> @@ -6015,6 +6174,11 @@ <ref name="uint8"/> </attribute> </optional> + <optional> + <attribute name="dma_translation"> + <ref name="virOnOff"/> + </attribute> + </optional> </element> </optional> <optional> @@ -6170,6 +6334,30 @@ </element> </define> + <define name="pstore"> + <element name="pstore"> + <attribute name="backend"> + <value>acpi-erst</value> + </attribute> + <interleave> + <optional> + <element name="path"> + <ref name="absFilePath"/> + </element> + </optional> + <element name="size"> + <ref name="scaledInteger"/> + </element> + <optional> + <ref name="address"/> + </optional> + <optional> + <ref name="alias"/> + </optional> + </interleave> + </element> + </define> + <define name="hostdev"> <element name="hostdev"> <interleave> @@ -6639,6 +6827,9 @@ <optional> <ref name="vsock"/> </optional> + <optional> + <ref name="pstore"/> + </optional> </interleave> </element> </define> @@ -6795,6 +6986,16 @@ </optional> </element> </optional> + <optional> + <element name="ras"> + <ref name="featurestate"/> + </element> + </optional> + <optional> + <element name="ps2"> + <ref name="featurestate"/> + </element> + </optional> </interleave> </element> </optional> @@ -7730,12 +7931,16 @@ </element> </define> + <define name="pflashFormatTypes"> + <choice> + <value>raw</value> + <value>qcow2</value> + </choice> + </define> + <define name="pflashFormat"> <attribute name="format"> - <choice> - <value>raw</value> - <value>qcow2</value> - </choice> + <ref name="pflashFormatTypes"/> </attribute> </define> @@ -7822,7 +8027,7 @@ </optional> <optional> <element name="tlbflush"> - <ref name="featurestate"/> + <ref name="tlbflush"/> </element> </optional> <optional> @@ -7840,6 +8045,16 @@ <ref name="featurestate"/> </element> </optional> + <optional> + <element name="emsr_bitmap"> + <ref name="featurestate"/> + </element> + </optional> + <optional> + <element name="xmm_input"> + <ref name="featurestate"/> + </element> + </optional> </interleave> </group> </choice> @@ -7860,6 +8075,25 @@ </interleave> </define> + <!-- Hyper-V tlbflush features --> + <define name="tlbflush"> + <interleave> + <optional> + <ref name="featurestate"/> + </optional> + <optional> + <element name="direct"> + <ref name="featurestate"/> + </element> + </optional> + <optional> + <element name="extended"> + <ref name="featurestate"/> + </element> + </optional> + </interleave> + </define> + <!-- Optional KVM features --> <define name="kvm"> <element name="kvm"> |
