schemas: Refactor launch security

Change launch security to make it reusable for other types.

Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Boris Fiuczynski 2021-07-16 11:44:25 +02:00 committed by Pavel Hrdina
parent bab44aa963
commit 001b482e30

View File

@ -482,6 +482,15 @@
<define name="launchSecurity"> <define name="launchSecurity">
<element name="launchSecurity"> <element name="launchSecurity">
<choice>
<group>
<ref name="launchSecuritySEV"/>
</group>
</choice>
</element>
</define>
<define name="launchSecuritySEV">
<attribute name="type"> <attribute name="type">
<value>sev</value> <value>sev</value>
</attribute> </attribute>
@ -515,7 +524,6 @@
</element> </element>
</optional> </optional>
</interleave> </interleave>
</element>
</define> </define>
<!-- <!--