diff options
Diffstat (limited to 'qapi/misc.json')
-rw-r--r-- | qapi/misc.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/qapi/misc.json b/qapi/misc.json index 8325e0dc9c..c4696ef150 100644 --- a/qapi/misc.json +++ b/qapi/misc.json @@ -2013,6 +2013,30 @@ { 'command': 'query-machines', 'returns': ['MachineInfo'] } ## +# @CurrentMachineParams: +# +# Information describing the running machine parameters. +# +# @wakeup-suspend-support: true if the machine supports wake up from +# suspend +# +# Since: 4.0 +## +{ 'struct': 'CurrentMachineParams', + 'data': { 'wakeup-suspend-support': 'bool'} } + +## +# @query-current-machine: +# +# Return information on the current virtual machine. +# +# Returns: CurrentMachineParams +# +# Since: 4.0 +## +{ 'command': 'query-current-machine', 'returns': 'CurrentMachineParams' } + +## # @CpuDefinitionInfo: # # Virtual CPU definition. |