|
@@ -1965,6 +1965,38 @@
|
|
'data': { 'name': 'str', '*migration-safe': 'bool', 'static': 'bool',
|
|
'data': { 'name': 'str', '*migration-safe': 'bool', 'static': 'bool',
|
|
'*unavailable-features': [ 'str' ], 'typename': 'str' } }
|
|
'*unavailable-features': [ 'str' ], 'typename': 'str' } }
|
|
|
|
|
|
|
|
+##
|
|
|
|
+# @MemoryInfo:
|
|
|
|
+#
|
|
|
|
+# Actual memory information in bytes.
|
|
|
|
+#
|
|
|
|
+# @base-memory: size of "base" memory specified with command line
|
|
|
|
+# option -m.
|
|
|
|
+#
|
|
|
|
+# @plugged-memory: size of memory that can be hot-unplugged. This field
|
|
|
|
+# is omitted if target doesn't support memory hotplug
|
|
|
|
+# (i.e. CONFIG_MEM_HOTPLUG not defined on build time).
|
|
|
|
+#
|
|
|
|
+# Since: 2.11.0
|
|
|
|
+##
|
|
|
|
+{ 'struct': 'MemoryInfo',
|
|
|
|
+ 'data' : { 'base-memory': 'size', '*plugged-memory': 'size' } }
|
|
|
|
+
|
|
|
|
+##
|
|
|
|
+# @query-memory-size-summary:
|
|
|
|
+#
|
|
|
|
+# Return the amount of initially allocated and present hotpluggable (if
|
|
|
|
+# enabled) memory in bytes.
|
|
|
|
+#
|
|
|
|
+# Example:
|
|
|
|
+#
|
|
|
|
+# -> { "execute": "query-memory-size-summary" }
|
|
|
|
+# <- { "return": { "base-memory": 4294967296, "plugged-memory": 0 } }
|
|
|
|
+#
|
|
|
|
+# Since: 2.11.0
|
|
|
|
+##
|
|
|
|
+{ 'command': 'query-memory-size-summary', 'returns': 'MemoryInfo' }
|
|
|
|
+
|
|
##
|
|
##
|
|
# @query-cpu-definitions:
|
|
# @query-cpu-definitions:
|
|
#
|
|
#
|