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:

https://lore.kernel.org/qemu-devel/77bc5a11fcb7b06deba1c54b1ef2de28e0c53fb1.ca...@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