summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2025-01-22 14:31:10 +0100
committerSimon Rettberg2025-01-22 14:31:10 +0100
commit55e96d237c53aac356fac2b26fb6e17e5bf15a94 (patch)
tree14ce0eaa4f905bc85b059fffb2da194512179756
parent[libvirt] source address in hostdev must not contain attribute "type" (diff)
downloadmaster-sync-shared-55e96d2.tar.gz
master-sync-shared-55e96d2.tar.xz
master-sync-shared-55e96d2.zip
[libvirt] Update rng files (v11.0.0)
-rw-r--r--src/main/resources/libvirt/rng/cputypes.rng5
-rw-r--r--src/main/resources/libvirt/rng/domaincaps.rng58
-rw-r--r--src/main/resources/libvirt/rng/domaincommon.rng304
-rw-r--r--src/main/resources/libvirt/rng/networkcommon.rng3
-rw-r--r--src/main/resources/libvirt/rng/nodedev.rng8
5 files changed, 342 insertions, 36 deletions
diff --git a/src/main/resources/libvirt/rng/cputypes.rng b/src/main/resources/libvirt/rng/cputypes.rng
index 3a8910e..8edf1d1 100644
--- a/src/main/resources/libvirt/rng/cputypes.rng
+++ b/src/main/resources/libvirt/rng/cputypes.rng
@@ -440,6 +440,11 @@
<ref name="cpuCheck"/>
</optional>
<optional>
+ <attribute name="deprecated_features">
+ <ref name="virOnOff"/>
+ </attribute>
+ </optional>
+ <optional>
<attribute name="migratable">
<ref name="virOnOff"/>
</attribute>
diff --git a/src/main/resources/libvirt/rng/domaincaps.rng b/src/main/resources/libvirt/rng/domaincaps.rng
index e7aa4a1..3559d2a 100644
--- a/src/main/resources/libvirt/rng/domaincaps.rng
+++ b/src/main/resources/libvirt/rng/domaincaps.rng
@@ -164,11 +164,30 @@
<ref name="virYesNo"/>
</attribute>
</optional>
+ <optional>
+ <attribute name="canonical">
+ <text/>
+ </attribute>
+ </optional>
<attribute name='vendor'>
<text/>
</attribute>
<text/>
</element>
+ <optional>
+ <element name="blockers">
+ <attribute name="model">
+ <text/>
+ </attribute>
+ <oneOrMore>
+ <element name="feature">
+ <attribute name="name">
+ <text/>
+ </attribute>
+ </element>
+ </oneOrMore>
+ </element>
+ </optional>
</zeroOrMore>
</element>
</define>
@@ -212,6 +231,12 @@
<optional>
<ref name="crypto"/>
</optional>
+ <optional>
+ <ref name="interface"/>
+ </optional>
+ <optional>
+ <ref name="panic"/>
+ </optional>
</element>
</define>
@@ -285,6 +310,27 @@
</element>
</define>
+ <define name="panic">
+ <element name="panic">
+ <ref name="supported"/>
+ <ref name="enum"/>
+ </element>
+ </define>
+
+ <define name="interface">
+ <element name="interface">
+ <ref name="supported"/>
+ <ref name="enum"/>
+ </element>
+ </define>
+
+ <define name="launchSecurity">
+ <element name="launchSecurity">
+ <ref name="supported"/>
+ <ref name="enum"/>
+ </element>
+ </define>
+
<define name="features">
<element name="features">
<optional>
@@ -309,6 +355,9 @@
<ref name="s390-pv"/>
</optional>
<optional>
+ <ref name="ps2"/>
+ </optional>
+ <optional>
<ref name="sev"/>
</optional>
<optional>
@@ -317,6 +366,9 @@
<optional>
<ref name="hyperv"/>
</optional>
+ <optional>
+ <ref name='launchSecurity'/>
+ </optional>
</element>
</define>
@@ -363,6 +415,12 @@
</element>
</define>
+ <define name="ps2">
+ <element name="ps2">
+ <ref name="supported"/>
+ </element>
+ </define>
+
<define name="sev">
<element name="sev">
<ref name="supported"/>
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">
diff --git a/src/main/resources/libvirt/rng/networkcommon.rng b/src/main/resources/libvirt/rng/networkcommon.rng
index 6df6d43..28424f9 100644
--- a/src/main/resources/libvirt/rng/networkcommon.rng
+++ b/src/main/resources/libvirt/rng/networkcommon.rng
@@ -180,9 +180,10 @@
</define>
<define name="speed">
- <data type="unsignedInt">
+ <data type="unsignedLong">
<param name="pattern">[0-9]+</param>
<param name="minInclusive">1</param>
+ <param name="maxInclusive">18014398509481984</param>
</data>
</define>
<define name="BurstSize">
diff --git a/src/main/resources/libvirt/rng/nodedev.rng b/src/main/resources/libvirt/rng/nodedev.rng
index ff07313..42a0cdc 100644
--- a/src/main/resources/libvirt/rng/nodedev.rng
+++ b/src/main/resources/libvirt/rng/nodedev.rng
@@ -673,6 +673,14 @@
<attribute name="type">
<value>ccw</value>
</attribute>
+ <optional>
+ <element name="state">
+ <choice>
+ <value>online</value>
+ <value>offline</value>
+ </choice>
+ </element>
+ </optional>
<ref name="capccwaddress"/>
</define>