Add Trusted Platform Module (TPM) support for Qemu VMs

This commit is contained in:
grossmj committed 2023-01-04 12:13:19 +08:00
1 parent eb1b70456f
commit ae200d9add
5 files changed
+120 -9

No files matched your search

+1
View File
@@ -82,6 +82,7 @@ async def subprocess_check_output(*args, cwd=None, env=None, stderr=False):
# and the code of VPCS, dynamips... Will detect it's not the correct binary
return output.decode("utf-8", errors="ignore")
async def wait_for_process_termination(process, timeout=10):
"""
Wait for a process terminate, and raise asyncio.TimeoutError in case of