On Thu, Jul 11, 2019 at 03:41:29PM -0400, Stefan Berger wrote:
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(a)linux.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau(a)redhat.com>
---
docs/schemas/secret.rng | 10 ++++++++++
include/libvirt/libvirt-secret.h | 1 +
src/conf/secret_conf.c | 13 +++++++++++++
src/util/virsecret.c | 2 +-
tests/secretxml2xmlin/usage-vtpm.xml | 7 +++++++
tests/secretxml2xmltest.c | 1 +
6 files changed, 33 insertions(+), 1 deletion(-)
create mode 100644 tests/secretxml2xmlin/usage-vtpm.xml
Reviewed-by: Daniel P. Berrangé <berrange(a)redhat.com>
Regards,
Daniel
--
|:
https://berrange.com -o-
https://www.flickr.com/photos/dberrange :|
|:
https://libvirt.org -o-
https://fstop138.berrange.com :|
|:
https://entangle-photo.org -o-
https://www.instagram.com/dberrange :|