mirror of
https://github.com/xemu-project/xemu.git
synced 2024-12-05 18:27:42 +00:00
b8bbdb886e
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>
13 lines
486 B
Makefile
13 lines
486 B
Makefile
ifeq ($(CONFIG_VIRTIO)$(CONFIG_VIRTFS)$(CONFIG_PCI),yyy)
|
|
# Lots of the fsdev/9pcode is pulled in by vl.c via qemu_fsdev_add.
|
|
# only pull in the actual virtio-9p device if we also enabled virtio.
|
|
common-obj-y = qemu-fsdev.o 9p-marshal.o 9p-iov-marshal.o
|
|
else
|
|
common-obj-y = qemu-fsdev-dummy.o
|
|
endif
|
|
common-obj-y += qemu-fsdev-opts.o qemu-fsdev-throttle.o
|
|
|
|
# Toplevel always builds this; targets without virtio will put it in
|
|
# common-obj-y
|
|
common-obj-$(CONFIG_ALL) += qemu-fsdev-dummy.o
|