qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH V15 05/11] NUMA: introduce NumaMemOptions


From: Wanlong Gao
Subject: [Qemu-devel] [PATCH V15 05/11] NUMA: introduce NumaMemOptions
Date: Tue, 29 Oct 2013 10:43:34 +0800

Signed-off-by: Wanlong Gao <address@hidden>
---
 qapi-schema.json | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/qapi-schema.json b/qapi-schema.json
index b7f0b15..a19e453 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -4198,7 +4198,8 @@
 ##
 { 'union': 'NumaOptions',
   'data': {
-    'node': 'NumaNodeOptions' }}
+    'node': 'NumaNodeOptions',
+    'mem' : 'NumaMemOptions' }}
 
 ##
 # @NumaNodeOptions
@@ -4218,3 +4219,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.1.600.g3d092bf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]