Skip to contentSkip to conversation

docs/specs/tpm: Clarify command line parameters for network migration

PATCH In review Stefan Berger 2 participants 2 messages Oct 14, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 docs/specs/tpm: Clarify command line parameters for network migration

Clarify the command line parameters for swtpm migration across the network for the case of shared storage and non-shared storage.

---
 docs/specs/tpm.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
docs/specs/tpm.rst +2 -1
index 3be190343a..956f2c13dc 100644
@@ -482,7 +482,8 @@ VM migration across the network:
  - QEMU command line parameters should be identical apart from the
    '-incoming' option on the destination side
 
- - swtpm command line parameters should be identical
+ - swtpm command line parameters can be identical if storage is not
+   shared and should be different for shared storage
 
 VM Snapshotting:
  - QEMU command line parameters should be identical
Signature · 1 line
2.31.1
#1 lore raw
Quoted 13 lines · Stefan Berger

Clarify the command line parameters for swtpm migration across the network for the case of shared storage and non-shared storage.

---
 docs/specs/tpm.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
docs/specs/tpm.rst +0 -0
index 3be190343a..956f2c13dc 100644

docs/specs/tpm.rst VM migration across the network: · line 486

Quoted 6 lines
docs/specs/tpm.rst +2 -1
@@ -482,7 +482,8 @@ VM migration across the network:
  - QEMU command line parameters should be identical apart from the
    '-incoming' option on the destination side
 
- - swtpm command line parameters should be identical
+ - swtpm command line parameters can be identical if storage is not
+   shared and should be different for shared storage

I would interpret this as relating to the storage of the VM (virtual disk devices), but you are referring to the storage used by swtpm, presumably.

How about:

- typically, swtpm command line parameters should be different if the vTPM state directory is on shared storage, and should be the same if the vTPM state directory is not shared.

Quoted 3 lines
docs/specs/tpm.rst +0 -0
 VM Snapshotting:
  - QEMU command line parameters should be identical