|
@@ -566,7 +566,8 @@
|
|
|
#
|
|
|
# Since: 1.1
|
|
|
##
|
|
|
-{ 'command': 'guest-suspend-disk', 'success-response': false }
|
|
|
+{ 'command': 'guest-suspend-disk', 'success-response': false,
|
|
|
+ 'if': { 'any': ['CONFIG_LINUX', 'CONFIG_WIN32'] } }
|
|
|
|
|
|
##
|
|
|
# @guest-suspend-ram:
|
|
@@ -602,7 +603,8 @@
|
|
|
#
|
|
|
# Since: 1.1
|
|
|
##
|
|
|
-{ 'command': 'guest-suspend-ram', 'success-response': false }
|
|
|
+{ 'command': 'guest-suspend-ram', 'success-response': false,
|
|
|
+ 'if': { 'any': ['CONFIG_LINUX', 'CONFIG_WIN32'] } }
|
|
|
|
|
|
##
|
|
|
# @guest-suspend-hybrid:
|
|
@@ -638,7 +640,7 @@
|
|
|
# Since: 1.1
|
|
|
##
|
|
|
{ 'command': 'guest-suspend-hybrid', 'success-response': false,
|
|
|
- 'if': 'CONFIG_POSIX' }
|
|
|
+ 'if': 'CONFIG_LINUX' }
|
|
|
|
|
|
##
|
|
|
# @GuestIpAddressType:
|
|
@@ -751,7 +753,8 @@
|
|
|
{ 'struct': 'GuestLogicalProcessor',
|
|
|
'data': {'logical-id': 'int',
|
|
|
'online': 'bool',
|
|
|
- '*can-offline': 'bool'} }
|
|
|
+ '*can-offline': 'bool'},
|
|
|
+ 'if': { 'any': ['CONFIG_LINUX', 'CONFIG_WIN32'] } }
|
|
|
|
|
|
##
|
|
|
# @guest-get-vcpus:
|
|
@@ -766,7 +769,8 @@
|
|
|
# Since: 1.5
|
|
|
##
|
|
|
{ 'command': 'guest-get-vcpus',
|
|
|
- 'returns': ['GuestLogicalProcessor'] }
|
|
|
+ 'returns': ['GuestLogicalProcessor'],
|
|
|
+ 'if': { 'any': ['CONFIG_LINUX', 'CONFIG_WIN32'] } }
|
|
|
|
|
|
##
|
|
|
# @guest-set-vcpus:
|
|
@@ -809,7 +813,7 @@
|
|
|
{ 'command': 'guest-set-vcpus',
|
|
|
'data': {'vcpus': ['GuestLogicalProcessor'] },
|
|
|
'returns': 'int',
|
|
|
- 'if': 'CONFIG_POSIX' }
|
|
|
+ 'if': 'CONFIG_LINUX' }
|
|
|
|
|
|
##
|
|
|
# @GuestDiskBusType:
|
|
@@ -1103,7 +1107,7 @@
|
|
|
'data': {'phys-index': 'uint64',
|
|
|
'online': 'bool',
|
|
|
'*can-offline': 'bool'},
|
|
|
- 'if': 'CONFIG_POSIX' }
|
|
|
+ 'if': 'CONFIG_LINUX' }
|
|
|
|
|
|
##
|
|
|
# @guest-get-memory-blocks:
|
|
@@ -1120,7 +1124,7 @@
|
|
|
##
|
|
|
{ 'command': 'guest-get-memory-blocks',
|
|
|
'returns': ['GuestMemoryBlock'],
|
|
|
- 'if': 'CONFIG_POSIX' }
|
|
|
+ 'if': 'CONFIG_LINUX' }
|
|
|
|
|
|
##
|
|
|
# @GuestMemoryBlockResponseType:
|
|
@@ -1144,7 +1148,7 @@
|
|
|
{ 'enum': 'GuestMemoryBlockResponseType',
|
|
|
'data': ['success', 'not-found', 'operation-not-supported',
|
|
|
'operation-failed'],
|
|
|
- 'if': 'CONFIG_POSIX' }
|
|
|
+ 'if': 'CONFIG_LINUX' }
|
|
|
|
|
|
##
|
|
|
# @GuestMemoryBlockResponse:
|
|
@@ -1163,7 +1167,7 @@
|
|
|
'data': { 'phys-index': 'uint64',
|
|
|
'response': 'GuestMemoryBlockResponseType',
|
|
|
'*error-code': 'int' },
|
|
|
- 'if': 'CONFIG_POSIX'}
|
|
|
+ 'if': 'CONFIG_LINUX'}
|
|
|
|
|
|
##
|
|
|
# @guest-set-memory-blocks:
|
|
@@ -1195,7 +1199,7 @@
|
|
|
{ 'command': 'guest-set-memory-blocks',
|
|
|
'data': {'mem-blks': ['GuestMemoryBlock'] },
|
|
|
'returns': ['GuestMemoryBlockResponse'],
|
|
|
- 'if': 'CONFIG_POSIX' }
|
|
|
+ 'if': 'CONFIG_LINUX' }
|
|
|
|
|
|
##
|
|
|
# @GuestMemoryBlockInfo:
|
|
@@ -1208,7 +1212,7 @@
|
|
|
##
|
|
|
{ 'struct': 'GuestMemoryBlockInfo',
|
|
|
'data': {'size': 'uint64'},
|
|
|
- 'if': 'CONFIG_POSIX' }
|
|
|
+ 'if': 'CONFIG_LINUX' }
|
|
|
|
|
|
##
|
|
|
# @guest-get-memory-block-info:
|
|
@@ -1221,7 +1225,7 @@
|
|
|
##
|
|
|
{ 'command': 'guest-get-memory-block-info',
|
|
|
'returns': 'GuestMemoryBlockInfo',
|
|
|
- 'if': 'CONFIG_POSIX' }
|
|
|
+ 'if': 'CONFIG_LINUX' }
|
|
|
|
|
|
##
|
|
|
# @GuestExecStatus:
|