qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 2/2] tpm: add backend for mssim


From: Stefan Berger
Subject: Re: [PATCH 2/2] tpm: add backend for mssim
Date: Fri, 16 Dec 2022 11:21:44 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1



On 12/16/22 11:13, James Bottomley wrote:
On Fri, 2022-12-16 at 11:08 -0500, Stefan Berger wrote:
On 12/16/22 10:48, James Bottomley wrote:
[...]
+The mssim backend supports snapshotting and migration, but the
state
+of the Microsoft Simulator server must be preserved (or the server
+kept running) outside of QEMU for restore to be successful.

You said you tested it. Can you show how to set it up with command
lines? I want to try out at least suspend and resume .

I already did here:

77bc5a11fcb7b06deba1c54b1ef2de28e0c53fb1.camel@linux.ibm.com/">https://lore.kernel.org/qemu-devel/77bc5a11fcb7b06deba1c54b1ef2de28e0c53fb1.camel@linux.ibm.com/

But to recap, it's

stop
migrate "exec:gzip -c > STATEFILE.gz"
quit

Followed by a restart with

<qemu-command-line> -incoming "exec: gzip -c -d STATEFILE.gz"

Good, you can put it into the documentation. Can I do a reboot of the host in 
between or does the TPM have to keep on running?

   Stefan


James




reply via email to

[Prev in Thread] Current Thread [Next in Thread]