[PATCH v2 2/9] qemu: Introduced VIR_MIGRATE_TPM_SHARED_STORAGE for TPM migration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <stefanb@xxxxxxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux