aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxen/include/xen/api/xen_vtpm.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/libxen/include/xen/api/xen_vtpm.h')
-rw-r--r--tools/libxen/include/xen/api/xen_vtpm.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/libxen/include/xen/api/xen_vtpm.h b/tools/libxen/include/xen/api/xen_vtpm.h
index 920948d134..9b3b2ebd88 100644
--- a/tools/libxen/include/xen/api/xen_vtpm.h
+++ b/tools/libxen/include/xen/api/xen_vtpm.h
@@ -66,6 +66,7 @@ typedef struct xen_vtpm_record
char *uuid;
struct xen_vm_record_opt *vm;
struct xen_vm_record_opt *backend;
+ xen_string_string_map *other_config;
} xen_vtpm_record;
/**
@@ -196,4 +197,22 @@ extern bool
xen_vtpm_get_backend(xen_session *session, xen_vm *result, xen_vtpm vtpm);
+/**
+ * Get the other_config field of the given VTPM.
+ */
+extern bool
+xen_vtpm_get_other_config(xen_session *session,
+ xen_string_string_map **result,
+ xen_vtpm vtpm);
+
+
+/**
+ * Set the other_config field of the given VTPM.
+ */
+extern bool
+xen_vtpm_set_other_config(xen_session *session,
+ xen_vtpm vtpm,
+ xen_string_string_map *other_config);
+
+
#endif