summaryrefslogtreecommitdiffstats
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorLuiz Capitulino2012-12-03 18:56:41 +0100
committerLuiz Capitulino2013-01-25 13:36:54 +0100
commit01ceb97e7b8b00a1d4779543fe4b958df7e16890 (patch)
tree280988f4b1ad0390006ad575c4173e4df44411fc /qapi-schema.json
parentblock: Monitor command commit neglects to report some errors (diff)
downloadqemu-01ceb97e7b8b00a1d4779543fe4b958df7e16890.tar.gz
qemu-01ceb97e7b8b00a1d4779543fe4b958df7e16890.tar.xz
qemu-01ceb97e7b8b00a1d4779543fe4b958df7e16890.zip
balloon: drop old stats code & API
Next commit will re-enable balloon stats with a different interface, but this old code conflicts with it. Let's drop it. It's important to note that the QMP and HMP interfaces are also dropped by this commit. That shouldn't be a problem though, because: 1. All QMP fields are optional 2. This feature has always been disabled Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json20
1 files changed, 1 insertions, 19 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index 6d7252b9e8..a4c6eca319 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -977,28 +977,10 @@
#
# @actual: the number of bytes the balloon currently contains
#
-# @mem_swapped_in: #optional number of pages swapped in within the guest
-#
-# @mem_swapped_out: #optional number of pages swapped out within the guest
-#
-# @major_page_faults: #optional number of major page faults within the guest
-#
-# @minor_page_faults: #optional number of minor page faults within the guest
-#
-# @free_mem: #optional amount of memory (in bytes) free in the guest
-#
-# @total_mem: #optional amount of memory (in bytes) visible to the guest
-#
# Since: 0.14.0
#
-# Notes: all current versions of QEMU do not fill out optional information in
-# this structure.
##
-{ 'type': 'BalloonInfo',
- 'data': {'actual': 'int', '*mem_swapped_in': 'int',
- '*mem_swapped_out': 'int', '*major_page_faults': 'int',
- '*minor_page_faults': 'int', '*free_mem': 'int',
- '*total_mem': 'int'} }
+{ 'type': 'BalloonInfo', 'data': {'actual': 'int' } }
##
# @query-balloon: