Change in vdsm[master]: vdsm: Add ioTune support at vm creation

danken at redhat.com danken at redhat.com
Wed May 29 04:59:39 UTC 2013


Dan Kenigsberg has submitted this change and it was merged.

Change subject: vdsm: Add ioTune support at vm creation
......................................................................


vdsm: Add ioTune support at vm creation

The code parses the 'ioTune' descrption for block devices at vm creation
time and adds the tag accordingly.

e.g.
Adding 'ioTune':{'read_bytes_sec': 6120000, 'total_iops_sec': 800} in specParams for a
block device will add the following in dom xml for that device.

<iotune>
    <read_bytes_sec>6120000</read_bytes_sec>
    <total_iops_sec>800</total_iops_sec>
</iotune>

These parameters constrains the I/O bandwith for the device.

Change-Id: Ie4034648620ed9212c06c12607bb889d97cca9d6
Signed-off-by: MeiLiu <liumbj at linux.vnet.ibm.com>
---
M tests/libvirtvmTests.py
M vdsm/vm.py
M vdsm_api/vdsmapi-schema.json
3 files changed, 113 insertions(+), 3 deletions(-)

Approvals:
  Dan Kenigsberg: Looks good to me, approved
  Mei Liu: Verified


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie4034648620ed9212c06c12607bb889d97cca9d6
Gerrit-PatchSet: 13
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Mei Liu <liumbj at linux.vnet.ibm.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Giuseppe Vallarelli <gvallare at redhat.com>
Gerrit-Reviewer: Mark Wu <wudxw at linux.vnet.ibm.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Mei Liu <liumbj at linux.vnet.ibm.com>
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list