forked from qemu/qemu
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for VM suspend/resume for TPM TIS
Extend the TPM TIS code to support suspend/resume. In case a command is being processed by the external TPM when suspending, wait for the command to complete to catch the result. In case the bottom half did not run, run the one function the bottom half is supposed to run. This then makes the resume operation work. The passthrough backend does not support suspend/resume operation and is therefore blocked from suspend/resume and migration. The CUSE TPM's supported capabilities are tested and if sufficient capabilities are implemented, suspend/resume, snapshotting and migration are supported by the CUSE TPM. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
- Loading branch information
1 parent
b9ea09d
commit 27d332d
Showing
6 changed files
with
503 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.