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

[libvirt] [PATCH 0/2] Support for Block Device IO Limits



Depending on the hypervisor (e.g. QEMU) it is possible to override
certain properties of a block device. In Linux these are called
IO limits and can be observed in the guest's sysfs under 
/sys/block/<dev>/queue.

This patch set enables libvirt to override the logical and physical
block size for QEMU guests.

I wasn't expecting the 0.10.1 release *that* early, so I have added
the since 0.10.1 in formatdomain.html.in :-) calling for a v2 patch.
Still I wanted to collect review feedback.

Viktor Mihajlovski (2):
  conf: Support for Block Device IO Limits
  qemu: Support for Block Device IO Limits.

 docs/formatdomain.html.in                          |   18 +++++++
 docs/schemas/domaincommon.rng                      |   17 +++++++
 src/conf/domain_conf.c                             |   49 ++++++++++++++++++++
 src/conf/domain_conf.h                             |    5 ++
 src/qemu/qemu_capabilities.c                       |   11 ++++
 src/qemu/qemu_capabilities.h                       |    1 +
 src/qemu/qemu_command.c                            |    8 +++
 tests/qemuhelptest.c                               |   12 +++--
 .../qemuxml2argv-disk-iolimits.args                |    9 ++++
 .../qemuxml2argv-disk-iolimits.xml                 |   33 +++++++++++++
 tests/qemuxml2argvtest.c                           |    3 +
 11 files changed, 162 insertions(+), 4 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-iolimits.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-iolimits.xml


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