Introduced VIR_MIGRATE_TPM_SHARED_STORAGE for migrating a TPM across
shared storage.

At this point do not support this flag in 'virsh', yet.

Signed-off-by: Stefan Berger <[email protected]>
---
 include/libvirt/libvirt-domain.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h
index 8357aea797..110929039d 100644
--- a/include/libvirt/libvirt-domain.h
+++ b/include/libvirt/libvirt-domain.h
@@ -1098,6 +1098,14 @@ typedef enum {
      * Since: 8.5.0
      */
     VIR_MIGRATE_ZEROCOPY = (1 << 20),
+
+    /* Support TPM migration across hosts that have shared storage setup for
+     * the directory structure holding the state of TPMs. Typically this would
+     * mean that the directory /var/lib/libvirt/swtpm is shared.
+     *
+     * Since: 8.9.0
+     */
+    VIR_MIGRATE_TPM_SHARED_STORAGE = (1 << 21),
 } virDomainMigrateFlags;
 
 
-- 
2.37.3

Reply via email to