Signed-off-by: Wanlong Gao <gaowanl...@cn.fujitsu.com> --- qapi-schema.json | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/qapi-schema.json b/qapi-schema.json index ca31ca6..950d0f5 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -3848,7 +3848,8 @@ ## { 'union': 'NumaOptions', 'data': { - 'node': 'NumaNodeOptions' }} + 'node': 'NumaNodeOptions', + 'mem' : 'NumaMemOptions' }} ## # @NumaNodeOptions @@ -3868,3 +3869,19 @@ '*nodeid': 'uint16', '*cpus': ['uint16'], '*mem': 'str' }} + +## +# @NumaMemOptions +# +# Set memory information of guest NUMA node. (for OptsVisitor) +# +# @nodeid: #optional NUMA node ID +# +# @size: #optional memory size of this node +# +# Since 1.7 +## +{ 'type': 'NumaMemOptions', + 'data': { + '*nodeid': 'uint16', + '*size': 'size' }} -- 1.8.4.99.gd2dbd39