mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
schema: Introduce osnvram define
This moves the definition of the <nvram> element out of the fairly complex oshvm define and will make it easier to later add the <varstore> element without making things unmanageable. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
1 parent
ccdff699ac
commit
b5da97c5b9
1 file changed
+29
-25
@@ -349,31 +349,7 @@
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="nvram">
|
||||
<optional>
|
||||
<attribute name="template">
|
||||
<ref name="absFilePath"/>
|
||||
</attribute>
|
||||
</optional>
|
||||
<optional>
|
||||
<attribute name="templateFormat">
|
||||
<ref name="pflashFormatTypes"/>
|
||||
</attribute>
|
||||
</optional>
|
||||
<optional>
|
||||
<ref name="pflashFormat"/>
|
||||
</optional>
|
||||
<optional>
|
||||
<choice>
|
||||
<group>
|
||||
<ref name="absFilePath"/>
|
||||
</group>
|
||||
<group>
|
||||
<ref name="diskSource"/>
|
||||
</group>
|
||||
</choice>
|
||||
</optional>
|
||||
</element>
|
||||
<ref name="osnvram"/>
|
||||
</optional>
|
||||
<optional>
|
||||
<ref name="osbootkernel"/>
|
||||
@@ -452,6 +428,34 @@
|
||||
</element>
|
||||
</define>
|
||||
|
||||
<define name="osnvram">
|
||||
<element name="nvram">
|
||||
<optional>
|
||||
<attribute name="template">
|
||||
<ref name="absFilePath"/>
|
||||
</attribute>
|
||||
</optional>
|
||||
<optional>
|
||||
<attribute name="templateFormat">
|
||||
<ref name="pflashFormatTypes"/>
|
||||
</attribute>
|
||||
</optional>
|
||||
<optional>
|
||||
<ref name="pflashFormat"/>
|
||||
</optional>
|
||||
<optional>
|
||||
<choice>
|
||||
<group>
|
||||
<ref name="absFilePath"/>
|
||||
</group>
|
||||
<group>
|
||||
<ref name="diskSource"/>
|
||||
</group>
|
||||
</choice>
|
||||
</optional>
|
||||
</element>
|
||||
</define>
|
||||
|
||||
<define name="osexe">
|
||||
<element name="os">
|
||||
<interleave>
|
||||
|
||||
Reference in new issue
Block a user