Re: [PATCH V5 03/25] cpr: QMP interfaces for reboot

2021-08-04 Thread Steven Sistare
On 8/4/2021 11:48 AM, Eric Blake wrote: > On Wed, Jul 07, 2021 at 10:20:12AM -0700, Steve Sistare wrote: >> cprsave calls cprsave(). Syntax: >> { 'enum': 'CprMode', 'data': [ 'reboot' ] } >> { 'command': 'cprsave', 'data': { 'file': 'str', 'mode': 'CprMode' } } >> >> cprload calls cprload().

Re: [PATCH V5 03/25] cpr: QMP interfaces for reboot

2021-08-04 Thread Eric Blake
On Wed, Jul 07, 2021 at 10:20:12AM -0700, Steve Sistare wrote: > cprsave calls cprsave(). Syntax: > { 'enum': 'CprMode', 'data': [ 'reboot' ] } > { 'command': 'cprsave', 'data': { 'file': 'str', 'mode': 'CprMode' } } > > cprload calls cprload(). Syntax: > { 'command': 'cprload', 'data': {

Re: [PATCH V5 03/25] cpr: QMP interfaces for reboot

2021-07-12 Thread Steven Sistare
Will do for all. Good idea on schema introspection. - steve On 7/8/2021 9:27 AM, Marc-André Lureau wrote: > Hi > > On Wed, Jul 7, 2021 at 9:28 PM Steve Sistare > wrote: > > cprsave calls cprsave().  Syntax: >   { 'enum': 'CprMode', 'data': [ 'reboot'

Re: [PATCH V5 03/25] cpr: QMP interfaces for reboot

2021-07-08 Thread Marc-André Lureau
Hi On Wed, Jul 7, 2021 at 9:28 PM Steve Sistare wrote: > cprsave calls cprsave(). Syntax: > { 'enum': 'CprMode', 'data': [ 'reboot' ] } > { 'command': 'cprsave', 'data': { 'file': 'str', 'mode': 'CprMode' } } > > cprload calls cprload(). Syntax: > { 'command': 'cprload', 'data': {

[PATCH V5 03/25] cpr: QMP interfaces for reboot

2021-07-07 Thread Steve Sistare
cprsave calls cprsave(). Syntax: { 'enum': 'CprMode', 'data': [ 'reboot' ] } { 'command': 'cprsave', 'data': { 'file': 'str', 'mode': 'CprMode' } } cprload calls cprload(). Syntax: { 'command': 'cprload', 'data': { 'file': 'str' } } cprinfo returns a list of supported modes. Syntax: {