]> git.proxmox.com Git - mirror_qemu.git/commit
fsdev: add IO throttle support to fsdev devices
authorPradeep Jagadeesh <pradeep.jagadeesh@huawei.com>
Tue, 28 Feb 2017 09:31:46 +0000 (10:31 +0100)
committerGreg Kurz <groug@kaod.org>
Tue, 28 Feb 2017 09:31:46 +0000 (10:31 +0100)
commitb8bbdb886ebf9cce631e5e792b328eed98511a38
tree620c593e2fe87f96d2d9ef6952bb8f9df2498c03
parent4bae2b397fc91bd7eca48bc861dd67f125d4fd1b
fsdev: add IO throttle support to fsdev devices

This patchset adds the throttle support for the 9p-local driver.
For now this functionality can be enabled only through qemu cli options.
QMP interface and support to other drivers need further extensions.
To make it simple for other 9p drivers, the throttle code has been put in
separate files.

Signed-off-by: Pradeep Jagadeesh <pradeep.jagadeesh@huawei.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
(pass extra NULL CoMutex * argument to qemu_co_queue_wait(),
 added options to qemu-options.hx, Greg Kurz)
Signed-off-by: Greg Kurz <groug@kaod.org>
fsdev/Makefile.objs
fsdev/file-op-9p.h
fsdev/qemu-fsdev-opts.c
fsdev/qemu-fsdev-throttle.c [new file with mode: 0644]
fsdev/qemu-fsdev-throttle.h [new file with mode: 0644]
hw/9pfs/9p-local.c
hw/9pfs/9p.c
hw/9pfs/cofile.c
qemu-options.hx