Dan Kenigsberg has submitted this change and it was merged.

Change subject: caps: Repair collect numa information
......................................................................


caps: Repair collect numa information

This patch repairs the memory issue about collect numa information
on a non-numa support machine.
If there is only one cell in the result of libvirt's getCapabilities
api, we consider it as non-numa support machine. In this situation,
it will be issue an error when call libvirt's getMemoryStats api.
Instead, we get the memory stats through /proc/meminfo.

Change-Id: Ifb70231c81e75d29107f4ea89367aa33d8e85bad
Bug-Url: https://bugzilla.redhat.com/1069303
Signed-off-by: Bruce Shi <[email protected]>
Reviewed-on: http://gerrit.ovirt.org/27090
Reviewed-by: Dan Kenigsberg <[email protected]>
---
M tests/capsTests.py
M vdsm/caps.py
2 files changed, 26 insertions(+), 2 deletions(-)

Approvals:
  Dan Kenigsberg: Looks good to me, approved
  Xiaolei Shi: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifb70231c81e75d29107f4ea89367aa33d8e85bad
Gerrit-PatchSet: 7
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Xiaolei Shi <[email protected]>
Gerrit-Reviewer: Adam Litke <[email protected]>
Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Martin Sivák <[email protected]>
Gerrit-Reviewer: Xiaolei Shi <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to