[Qemu-devel] [PATCH v2 0/4] fsdev: qmp interface for io throttling

Pradeep Jagadeesh posted 4 patches 7 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1490875813-35588-1-git-send-email-pradeep.jagadeesh@huawei.com
Test checkpatch passed
Test docker passed
Test s390x failed
There is a newer version of this series
makefile                        |   3 ++
blockdev.c                      |  97 ++-----------------------------------
fsdev/qemu-fsdev-throttle.c     |  90 ++++++++++++++++++----------------
fsdev/qemu-fsdev-throttle.h     |  13 +++++
fsdev/qemu-fsdev.c              |  36 ++++++++++++++
hmp-commands-info.hx            |  19 ++++++++
hmp-commands.hx                 |  19 ++++++++
hmp.c                           |  87 ++++++++++++++++++++++++++++++---
hmp.h                           |   5 ++
include/qemu/throttle-options.h |   7 +++
qapi-schema.json                |   3 ++
qapi/block-core.json            |  76 ++---------------------------
qapi/fsdev.json                 |  84 ++++++++++++++++++++++++++++++++
qapi/iothrottle.json            |  87 +++++++++++++++++++++++++++++++++
qmp.c                           |  14 ++++++
util/makefile.objs              |   1 +
util/throttle-options.c         | 105 ++++++++++++++++++++++++++++++++++++++++
17 files changed, 532 insertions(+), 214 deletions(-)
create mode 100644 qapi/fsdev.json
create mode 100644 qapi/iothrottle.json
create mode 100644 util/throttle-options.c
[Qemu-devel] [PATCH v2 0/4] fsdev: qmp interface for io throttling
Posted by Pradeep Jagadeesh 7 years ago
These patches provide the qmp interface, to query the io throttle 
status of the all fsdev devices that are present in a vm.
also, it provides an interface to set the io throttle parameters of a
fsdev to a required value. some of the patches also remove the duplicate
code that was present in block and fsdev files. 

pradeep jagadeesh (4):
  throttle: create iothrottle structure
  fsdev: qmp interface for throttling
  qmp: refactor duplicate code
  throttle: factor out duplicate code

 makefile                        |   3 ++
 blockdev.c                      |  97 ++-----------------------------------
 fsdev/qemu-fsdev-throttle.c     |  90 ++++++++++++++++++----------------
 fsdev/qemu-fsdev-throttle.h     |  13 +++++
 fsdev/qemu-fsdev.c              |  36 ++++++++++++++
 hmp-commands-info.hx            |  19 ++++++++
 hmp-commands.hx                 |  19 ++++++++
 hmp.c                           |  87 ++++++++++++++++++++++++++++++---
 hmp.h                           |   5 ++
 include/qemu/throttle-options.h |   7 +++
 qapi-schema.json                |   3 ++
 qapi/block-core.json            |  76 ++---------------------------
 qapi/fsdev.json                 |  84 ++++++++++++++++++++++++++++++++
 qapi/iothrottle.json            |  87 +++++++++++++++++++++++++++++++++
 qmp.c                           |  14 ++++++
 util/makefile.objs              |   1 +
 util/throttle-options.c         | 105 ++++++++++++++++++++++++++++++++++++++++
 17 files changed, 532 insertions(+), 214 deletions(-)
 create mode 100644 qapi/fsdev.json
 create mode 100644 qapi/iothrottle.json
 create mode 100644 util/throttle-options.c

-- 
1.8.3.1