Change in vdsm[master]: vm: Set numatune and guest numa topology

danken at redhat.com danken at redhat.com
Mon Mar 24 10:10:03 UTC 2014


Dan Kenigsberg has submitted this change and it was merged.

Change subject: vm: Set numatune and guest numa topology
......................................................................


vm: Set numatune and guest numa topology

Modify vm module to provide the functions of set numatune and guest
numa topology when create vm.
Modify vdsClient to add the related options.
The xml format of numatune is like:
<domain>
  ...
  <numatune>
    <memory mode="strict" nodeset="1-4,^3"/>
  </numatune>
  ...
</domain>
The format of guest numa topology is like:
<cpu>
    ...
    <numa>
      <cell cpus='0-3' memory='512000'/>
      <cell cpus='4-7' memory='512000'/>
    </numa>
    ...
</cpu>
More detailed libvirt reference in:
http://libvirt.org/formatdomain.html#elementsNUMATuning and
http://libvirt.org/formatdomain.html#elementsCPU

Change-Id: I88ec56047809b03449a788ead0b97f9ed876712d
Bug-Url: https://bugzilla.redhat.com/1069303
Signed-off-by: Bruce Shi <xiao-lei.shi at hp.com>
Reviewed-on: http://gerrit.ovirt.org/25254
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
---
M client/vdsClient.py
M tests/vdsClientTests.py
M tests/vmTests.py
M tests/vmTestsData.py
M vdsm/vm.py
M vdsm_api/vdsmapi-schema.json
6 files changed, 127 insertions(+), 8 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I88ec56047809b03449a788ead0b97f9ed876712d
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Xiaolei Shi <xiao-lei.shi at hp.com>
Gerrit-Reviewer: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>
Gerrit-Reviewer: Vinzenz Feenstra <vfeenstr at redhat.com>
Gerrit-Reviewer: Xiaolei Shi <xiao-lei.shi at hp.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list