On Fri, May 07, 2021 at 05:25:06AM -0700, Steve Sistare wrote: > cprsave calls cprsave(). Syntax: > { 'enum': 'CprMode', 'data': [ 'reboot', 'restart' ] } > { 'command': 'cprsave', 'data': { 'file': 'str', 'mode': 'CprMode' } } > > cprload calls cprload(). Syntax: > { 'command': 'cprload', 'data': { 'file': 'str' } } > > cprinfo returns a list of supported modes. Syntax: > { 'struct': 'CprInfo', 'data': { 'modes': [ 'CprMode' ] } } > { 'command': 'cprinfo', 'returns': 'CprInfo' } > > Signed-off-by: Mark Kanda <mark.ka...@oracle.com> > Signed-off-by: Steve Sistare <steven.sist...@oracle.com> > ---
> +++ b/qapi/cpr.json > +## > +# @CprMode: > +# > +# @reboot: checkpoint can be cprload'ed after a host kexec reboot. > +# > +# @restart: checkpoint can be cprload'ed after restarting qemu. > +# > +# Since: 6.0 We've missed 6.0; this and all other since tags should mention 6.1. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org