[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V8 5/6] fsdev: QMP interface for throttling
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH V8 5/6] fsdev: QMP interface for throttling |
Date: |
Mon, 7 Aug 2017 07:44:55 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 08/07/2017 07:37 AM, Pradeep Jagadeesh wrote:
> This patch introduces qmp interfaces for the fsdev
> devices. This provides two interfaces one
> for querying info of all the fsdev devices. The second one
> to set the IO limits for the required fsdev device.
>
> Signed-off-by: Pradeep Jagadeesh <address@hidden>
> ---
> Makefile | 4 +++
> fsdev/qemu-fsdev-dummy.c | 11 ++++++
> fsdev/qemu-fsdev-throttle.c | 76 ++++++++++++++++++++++++++++++++++++++++
> fsdev/qemu-fsdev-throttle.h | 8 +++--
> fsdev/qemu-fsdev.c | 38 ++++++++++++++++++++
> monitor.c | 5 +++
> qapi-schema.json | 3 ++
> qapi/fsdev.json | 84
> +++++++++++++++++++++++++++++++++++++++++++++
> qmp.c | 14 ++++++++
> 9 files changed, 241 insertions(+), 2 deletions(-)
> create mode 100644 qapi/fsdev.json
>
> +##
> +# @fsdev-set-io-throttle:
> +#
> +# Change I/O limits for a 9p/fsdev device.
> +#
> +# I/O limits can be enabled by setting throttle value to non-zero number.
> +#
> +# I/O limits can be disabled by setting all throttle values to 0.
> +#
> +# Returns: Nothing on success
> +# If @device is not a valid fsdev device, GenericError
> +#
> +# Since: 2.10
> +#
2.11, now.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v8 0/6] fsdev: qmp interface for io throttling, Pradeep Jagadeesh, 2017/08/07
- [Qemu-devel] [PATCH V8 2/6] qmp: Create IOThrottle structure, Pradeep Jagadeesh, 2017/08/07
- [Qemu-devel] [PATCH V8 1/6] throttle: factor out duplicate code, Pradeep Jagadeesh, 2017/08/07
- [Qemu-devel] [PATCH V8 3/6] throttle: move out function to reuse the code, Pradeep Jagadeesh, 2017/08/07
- [Qemu-devel] [PATCH V8 4/6] hmp: create a throttle initialization function for code reusability, Pradeep Jagadeesh, 2017/08/07
- [Qemu-devel] [PATCH V8 6/6] fsdev: hmp interface for throttling, Pradeep Jagadeesh, 2017/08/07
- [Qemu-devel] [PATCH V8 5/6] fsdev: QMP interface for throttling, Pradeep Jagadeesh, 2017/08/07
- Re: [Qemu-devel] [PATCH V8 5/6] fsdev: QMP interface for throttling,
Eric Blake <=
- [Qemu-devel] [PATCH v8 0/6] fsdev: qmp interface for io throttling, Pradeep Jagadeesh, 2017/08/29
- [Qemu-devel] [PATCH v8 3/6] throttle: move out function to reuse the code, Pradeep Jagadeesh, 2017/08/29
- [Qemu-devel] [PATCH v8 5/6] fsdev: hmp interface for throttling, Pradeep Jagadeesh, 2017/08/29
- [Qemu-devel] [PATCH v8 6/6] fsdev: QMP interface for throttling, Pradeep Jagadeesh, 2017/08/29
- [Qemu-devel] [PATCH v8 1/6] throttle: factor out duplicate code, Pradeep Jagadeesh, 2017/08/29
- [Qemu-devel] [PATCH v8 2/6] qmp: Create IOThrottle structure, Pradeep Jagadeesh, 2017/08/29
- [Qemu-devel] [PATCH v8 4/6] hmp: create a throttle initialization function for code reusability, Pradeep Jagadeesh, 2017/08/29
- Re: [Qemu-devel] [PATCH v8 0/6] fsdev: qmp interface for io throttling, Alberto Garcia, 2017/08/29