On 7/30/20 10:14 AM, Steve Sistare wrote:
Add the VMS_RESTART variant of vmstate, for use when upgrading qemu in place
on the same host without a reboot. Invoke it using:
cprsave <filename> restart
VMS_RESTART supports guest ram mapped by private anonymous memory, versus
VMS_REBOOT which requires that guest ram be mapped by persistent shared
memory. Subsequent patches complete its implementation.
Signed-off-by: Steve Sistare <steven.sist...@oracle.com>
---
+++ b/qapi/migration.json
@@ -1639,6 +1639,7 @@
#
# @file: name of checkpoint file
# @mode: 'reboot' : checkpoint can be cprload'ed after a host kexec reboot.
+# 'restart': checkpoint can be cprload'ed after restarting qemu.
This should be a modification to an enum type (the 'CprMode' type I
suggested earlier in the series).
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org