Royce Lv has uploaded a new change for review.

Change subject: schema:add cpupinning info to Vmdef
......................................................................

schema:add cpupinning info to Vmdef

In libvirtvm.py we check 'cpuPinning' feild,
and valid format is:{ 0 : '1-4' }

Change-Id: I60ea7919b6331728c4b3bd4012907528634d4ec6
Signed-off-by: Royce Lv<[email protected]>
---
M vdsm_api/vdsmapi-schema.json
1 file changed, 14 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/86/8486/1

diff --git a/vdsm_api/vdsmapi-schema.json b/vdsm_api/vdsmapi-schema.json
index 0cc7809..e3a1c2a 100644
--- a/vdsm_api/vdsmapi-schema.json
+++ b/vdsm_api/vdsmapi-schema.json
@@ -2273,6 +2273,16 @@
  'data': {'vmId': 'UUID', 'status': 'VmStatus'}}
 
 ##
+# @CpuPinInfoMap:
+#
+# A mapping of information about VCPU to CPU indexed by VCPU id.
+#
+# Since: 4.10.0
+##
+{'map': 'CpuPinInfoMap',
+ 'key': 'int', 'value': 'str'}
+
+##
 # @VmFullStatus:
 #
 # Full virtual machine status and properties.
@@ -2280,6 +2290,8 @@
 # @acpiEnable:            Indicates if ACPI is enabled inside the VM
 #
 # @clientIp:              The IP address of the client connected to the display
+#
+# @cpuPinning:            #optional Information about CPU pinning
 #
 # @cpuType:               The type of CPU being emulated
 #
@@ -2333,8 +2345,8 @@
 # Since: 4.10.0
 ##
 {'type': 'VmFullStatus',
- 'data': {'acpiEnable': 'bool', 'clientIp': 'str', 'cpuType': 'str',
-          'custom': 'StringMap', 'devices': ['VmDevice'],
+ 'data': {'acpiEnable': 'bool', 'clientIp': 'str', '*cpuPinning': 
'CpuPinInfoMap',
+          'cpuType': 'str', 'custom': 'StringMap', 'devices': ['VmDevice'],
           'display': 'VmDisplayType', 'displayIp': 'str',
           'displayPort': 'uint', 'displaySecurePort': 'uint',
           'emulatedMachine': 'str', 'keyboardLayout': 'str',


--
To view, visit http://gerrit.ovirt.org/8486
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I60ea7919b6331728c4b3bd4012907528634d4ec6
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Royce Lv <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to