mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
secret: Add support for usage type vTPM, extend schema and test case
Add support for usage type vTPM to secret. Extend the schema for the Secret to support the vTPM usage type and add a test case for parsing the Secret with usage type vTPM. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
committed by
Daniel P. Berrangé
parent
c1d347027f
commit
50a7b0cb4e
7
tests/secretxml2xmlin/usage-vtpm.xml
Normal file
7
tests/secretxml2xmlin/usage-vtpm.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<secret ephemeral='no' private='yes'>
|
||||
<uuid>aa6c7af2-45a7-477c-85a2-fe86d9f2514e</uuid>
|
||||
<description>vTPM secret</description>
|
||||
<usage type='vtpm'>
|
||||
<name>vTPMvTPMvTPM</name>
|
||||
</usage>
|
||||
</secret>
|
||||
Reference in New Issue
Block a user