qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 0/2] virtio-9p: qmp interface for set/query io throt


From: xiezhide
Subject: [Qemu-devel] [PATCH 0/2] virtio-9p: qmp interface for set/query io throttle for fsdev devices
Date: Fri, 9 Nov 2018 08:07:33 +0000

These patches provide the qmp interface, to set/query the io throttle
status of the all fsdev devices that are present in a vm.
Some of the patches also remove the
duplicate code that was present in block and fsdev files.

Zhide Xie (2):
  fsdev-qmp: qmp interface for set/query io throttle for fsdev devices.
  fsdev-qmp: fix coding style issue

Makefile                                                |  20 +++-
Makefile.objs                                       |   8 ++
block/throttle.c                                   |   6 +-
blockdev.c                                             |  96 +----------------
fsdev/qemu-fsdev-dummy.c            |  11 ++
fsdev/qemu-fsdev-throttle.c            | 144 +++++++++++++++++---------
fsdev/qemu-fsdev-throttle.h           |   6 +-
fsdev/qemu-fsdev.c                            |  29 ++++++
hmp-commands-info.hx                     |  15 +++
hmp-commands.hx                             |  15 +++
hmp.c                                                     |  83 +++++++++++++--
hmp.h                                                     |   4 +
include/qemu/throttle-options.h    |   3 +-
include/qemu/throttle.h                   |   4 +-
include/qemu/typedefs.h                  |   1 +
monitor.c                                               |   4 +
qapi/block-core.json                           | 122 +---------------------
qapi/fsdev.json                                     |  96 +++++++++++++++++
qapi/qapi-schema.json                       |   1 +
qapi/tlimits.json                                   |  89 ++++++++++++++++
qmp.c                                                      |  12 +++
util/throttle.c                                        | 224 
++++++++++++++++++++++++++--------------
22 files changed, 639 insertions(+), 354 deletions(-)
create mode 100644 qapi/fsdev.json
create mode 100644 qapi/tlimits.json

--
1.8.3.1


reply via email to

[Prev in Thread] Current Thread [Next in Thread]