]> git.proxmox.com Git - mirror_qemu.git/commit
coroutine: move into libqemuutil.a library
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 1 Sep 2015 13:48:02 +0000 (14:48 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 20 Oct 2015 13:59:04 +0000 (14:59 +0100)
commit10817bf09d5f8cb22711fb0ee8d8da49f6f05f89
tree735f6b70cedecd57843b9108cb68e2359e147e0c
parent57cb38b3833c5215131b983f181b26d6ba9b8d35
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>
46 files changed:
MAINTAINERS
Makefile.objs
block.c
block/qcow2.h
block/vdi.c
block/write-threshold.c
blockjob.c
coroutine-gthread.c [deleted file]
coroutine-sigaltstack.c [deleted file]
coroutine-ucontext.c [deleted file]
coroutine-win32.c [deleted file]
hw/9pfs/codir.c
hw/9pfs/cofile.c
hw/9pfs/cofs.c
hw/9pfs/coxattr.c
hw/9pfs/virtio-9p-coth.c
hw/9pfs/virtio-9p-coth.h
hw/9pfs/virtio-9p.h
include/block/block.h
include/block/block_int.h
include/block/coroutine.h [deleted file]
include/block/coroutine_int.h [deleted file]
include/qemu/coroutine.h [new file with mode: 0644]
include/qemu/coroutine_int.h [new file with mode: 0644]
migration/qemu-file-buf.c
migration/qemu-file-stdio.c
migration/qemu-file-unix.c
migration/qemu-file.c
migration/rdma.c
nbd.c
qemu-coroutine-io.c [deleted file]
qemu-coroutine-lock.c [deleted file]
qemu-coroutine-sleep.c [deleted file]
qemu-coroutine.c [deleted file]
tests/test-coroutine.c
tests/test-vmstate.c
thread-pool.c
util/Makefile.objs
util/coroutine-gthread.c [new file with mode: 0644]
util/coroutine-sigaltstack.c [new file with mode: 0644]
util/coroutine-ucontext.c [new file with mode: 0644]
util/coroutine-win32.c [new file with mode: 0644]
util/qemu-coroutine-io.c [new file with mode: 0644]
util/qemu-coroutine-lock.c [new file with mode: 0644]
util/qemu-coroutine-sleep.c [new file with mode: 0644]
util/qemu-coroutine.c [new file with mode: 0644]