diff options
| author | Daniel P. Berrange | 2015-09-01 15:48:02 +0200 |
|---|---|---|
| committer | Daniel P. Berrange | 2015-10-20 15:59:04 +0200 |
| commit | 10817bf09d5f8cb22711fb0ee8d8da49f6f05f89 (patch) | |
| tree | 735f6b70cedecd57843b9108cb68e2359e147e0c /util/Makefile.objs | |
| parent | osdep: add qemu_fork() wrapper for safely handling signals (diff) | |
| download | qemu-10817bf09d5f8cb22711fb0ee8d8da49f6f05f89.tar.gz qemu-10817bf09d5f8cb22711fb0ee8d8da49f6f05f89.tar.xz qemu-10817bf09d5f8cb22711fb0ee8d8da49f6f05f89.zip | |
coroutine: move into libqemuutil.a library
The coroutine files are currently referenced by the block-obj-y
variable. The coroutine functionality though is already used by
more than just the block code. eg migration code uses coroutine
yield. In the future the I/O channel code will also use the
coroutine yield functionality. Since the coroutine code is nicely
self-contained it can be easily built as part of the libqemuutil.a
library, making it widely available.
The headers are also moved into include/qemu, instead of the
include/block directory, since they are now part of the util
codebase, and the impl was never in the block/ directory
either.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'util/Makefile.objs')
| -rw-r--r-- | util/Makefile.objs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/Makefile.objs b/util/Makefile.objs index 114d6578c4..d8d7e7a919 100644 --- a/util/Makefile.objs +++ b/util/Makefile.objs @@ -18,3 +18,6 @@ util-obj-y += getauxval.o util-obj-y += readline.o util-obj-y += rfifolock.o util-obj-y += rcu.o +util-obj-y += qemu-coroutine.o qemu-coroutine-lock.o qemu-coroutine-io.o +util-obj-y += qemu-coroutine-sleep.o +util-obj-y += coroutine-$(CONFIG_COROUTINE_BACKEND).o |
