On 2/12/20 7:35 AM, David Hildenbrand wrote:
Expose it, and document what it means and when it was added.

Signed-off-by: David Hildenbrand <da...@redhat.com>
---
  hw/core/machine-hmp-cmds.c | 2 ++
  hw/core/machine-qmp-cmds.c | 3 +++
  qapi/machine.json          | 6 ++++++
  3 files changed, 11 insertions(+)

+++ b/qapi/machine.json
@@ -758,6 +758,9 @@
  #
  # @prealloc: enables or disables memory preallocation
  #
+# @managed-size: the owner manages the actual size, 'size' is an upper limit
+#                (since 5.1)
+#

There's still time to get this in 5.0, if the series is accepted before soft freeze.

  # @host-nodes: host nodes for its memory policy
  #
  # @policy: memory policy of memory backend
@@ -771,6 +774,7 @@
      'merge':      'bool',
      'dump':       'bool',
      'prealloc':   'bool',
+    'managed-size': 'bool',
      'host-nodes': ['uint16'],
      'policy':     'HostMemPolicy' }}
@@ -793,6 +797,7 @@
  #          "merge": false,
  #          "dump": true,
  #          "prealloc": false,
+#          "manmaged-size": false,

typo, managed-size

  #          "host-nodes": [0, 1],
  #          "policy": "bind"
  #        },
@@ -801,6 +806,7 @@
  #          "merge": false,
  #          "dump": true,
  #          "prealloc": true,
+#          "manmaged-size": false,

and again

  #          "host-nodes": [2, 3],
  #          "policy": "preferred"
  #        }


--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org


Reply via email to