qemu-devel
[Top][All Lists]
Advanced

[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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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