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

[libvirt] [PATCH 0/5] Add support for device blkio iops and bps throttle



From: Guan Qiang <hzguanqiang corp netease com>

The patches add support for setting/getting blkio read/write bps/iops
throttle per-device with blkio cgroup.

Aline Manera (3):
  Add https protocol support for cdrom disk
  Add ftps protocol support for cdrom disk
  Add tftp protocol support for cdrom disk

Guan Qiang (2):
  blkiotune: add support for device iops and bps throttle
  blkiotune: add virsh support for blkiotune.throttle.iops/bps

 docs/formatdomain.html.in                          |   32 ++
 docs/schemas/domaincommon.rng                      |   31 +-
 include/libvirt/libvirt.h.in                       |   40 ++
 src/conf/domain_conf.c                             |  120 +++-
 src/conf/domain_conf.h                             |   19 +-
 src/libvirt_private.syms                           |    4 +-
 src/lxc/lxc_cgroup.c                               |    9 +-
 src/qemu/qemu_cgroup.c                             |   10 +-
 src/qemu/qemu_command.c                            |   18 +
 src/qemu/qemu_driver.c                             |  579 ++++++++++++++++++--
 src/util/vircgroup.c                               |   79 ++-
 src/util/vircgroup.h                               |    8 +-
 .../qemuxml2argv-blkiotune-device.xml              |    4 +
 .../qemuxml2argv-disk-cdrom-network-ftps.args      |    8 +
 .../qemuxml2argv-disk-cdrom-network-ftps.xml       |   37 ++
 .../qemuxml2argv-disk-cdrom-network-https.args     |    8 +
 .../qemuxml2argv-disk-cdrom-network-https.xml      |   37 ++
 .../qemuxml2argv-disk-cdrom-network-tftp.args      |    7 +
 .../qemuxml2argv-disk-cdrom-network-tftp.xml       |   37 ++
 tests/qemuxml2argvtest.c                           |    6 +
 tools/virsh-domain.c                               |   64 +++
 tools/virsh.pod                                    |   32 +-
 22 files changed, 1075 insertions(+), 114 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-network-ftps.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-network-ftps.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-network-https.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-network-https.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-network-tftp.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-network-tftp.xml

-- 
1.7.9.5


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