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