Skip to content

Conversation

lindig
Copy link
Contributor

@lindig lindig commented May 11, 2023

The current VTPM implementation saves the TPM content only when the VM halts. THus, taking a checkpoint while the VM is running would not save the corrent TPM state. Block this.

The current VTPM implementation saves the TPM content only when the VM
halts. THus, taking a checkpoint while the VM is running would not save
the corrent TPM state. Block this.

Signed-off-by: Christian Lindig <christian.lindig@cloud.com>
Copy link
Contributor

@edwintorok edwintorok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suspend should correctly read back the vtpm state (same as a migrate), however I see that we take a snapshot info prior to suspend which may have outdated data and it is not clear which one "wins" when restoring the checkpoint: the one from the "migration stream" in the suspend VDI or the VM snapshot properties from xapi db.

You're right it is safer to block this until it is properly implemented.

@lindig lindig merged commit eca1975 into xapi-project:master May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants