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

[libvirt] [PATCH v4 0/6] qemu: Introduce support for new the block_set_io_throttle parameters add in the version 1.7 of qemu.



This series of patches add support for bps_max, bps_rd_max, bps_wr_max, 
bps_max, bps_rd_max, bps_wr_max, and iops_size in the functions qemuDomainSetBlockIoTune and qemuDomainGetBlockIoTune.
The last patch add support for these parameters to the virsh blkdeviotune command.

v2: spellfix

v3: Merge patch 1/9,2/9,5/9 together.
    Change the capability detection.(patch 2/7 and 3/7).
    Try to make the usage of QEMU_NB_BLOCK_IO_TUNE_PARAM_MAX more explicit(patch 3/7).

v4: Rebase on HEAD.
    Update qemu_driver to comply with Pavel's patchs.(patch 3/6)
    Remove the qemu_monitor_text modification.(remove old patch 5/7)

Matthias Gatto (6):
  qemu: Add defines for the news throttle options and modify the
    structure _virDomainBlockIoTuneInfo.
  qemu: Add the capability to detect if the qemu binary have the
    capability to use bps_max and friends
  qemu: Add bps_max and friends qemu driver
  qemu: Add bps_max and friends QMP suport
  qemu: add bps_max and friends to qemu command generation
  virsh: Add bps_max and friends to virsh

 include/libvirt/libvirt.h.in                 | 110 ++++++++++++++++
 src/conf/domain_conf.c                       |  89 ++++++++++++-
 src/conf/domain_conf.h                       |   7 ++
 src/qemu/qemu_capabilities.c                 |   2 +
 src/qemu/qemu_capabilities.h                 |   1 +
 src/qemu/qemu_command.c                      |  49 ++++++++
 src/qemu/qemu_driver.c                       | 181 ++++++++++++++++++++++++++-
 src/qemu/qemu_monitor.c                      |  10 +-
 src/qemu/qemu_monitor.h                      |   6 +-
 src/qemu/qemu_monitor_json.c                 |  68 ++++++++--
 src/qemu/qemu_monitor_json.h                 |   6 +-
 tests/qemucapabilitiesdata/caps_2.1.1-1.caps |   1 +
 tests/qemumonitorjsontest.c                  |   6 +-
 tools/virsh-domain.c                         | 119 ++++++++++++++++++
 tools/virsh.pod                              |  10 ++
 15 files changed, 634 insertions(+), 31 deletions(-)

-- 
1.8.3.1


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