From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoYvW-0005XC-MF for qemu-devel@nongnu.org; Tue, 20 Oct 2015 11:34:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoYvS-0000qn-Dp for qemu-devel@nongnu.org; Tue, 20 Oct 2015 11:34:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoYvS-0000qL-6c for qemu-devel@nongnu.org; Tue, 20 Oct 2015 11:34:10 -0400 From: "Daniel P. Berrange" Date: Tue, 20 Oct 2015 16:33:55 +0100 Message-Id: <1445355242-4397-1-git-send-email-berrange@redhat.com> Subject: [Qemu-devel] [PULL 0/7] Misc refactoring to util codebase List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Paolo Bonzini The following changes since commit c14e42d7a4495ecbad7bf8b3d603272e3a8992a1: Merge remote-tracking branch 'remotes/kraxel/tags/pull-usb-20151020-1' into staging (2015-10-20 10:52:56 +0100) are available in the git repository at: https://github.com/berrange/qemu.git io-channel-3-pull for you to fetch changes up to 88c5f205fa4c095db4c50eb7ad72816140206819: util: pull Buffer code out of VNC module (2015-10-20 14:59:09 +0100) ---------------------------------------------------------------- Daniel P. Berrange (7): sockets: add helpers for creating SocketAddress from a socket sockets: move qapi_copy_SocketAddress into qemu-sockets.c sockets: allow port to be NULL when listening on IP address ui: convert VNC startup code to use SocketAddress osdep: add qemu_fork() wrapper for safely handling signals coroutine: move into libqemuutil.a library util: pull Buffer code out of VNC module MAINTAINERS | 13 ++ Makefile.objs | 4 - block.c | 2 +- block/qcow2.h | 2 +- block/vdi.c | 2 +- block/write-threshold.c | 2 +- blockjob.c | 2 +- hw/9pfs/codir.c | 2 +- hw/9pfs/cofile.c | 2 +- hw/9pfs/cofs.c | 2 +- hw/9pfs/coxattr.c | 2 +- hw/9pfs/virtio-9p-coth.c | 2 +- hw/9pfs/virtio-9p-coth.h | 2 +- hw/9pfs/virtio-9p.h | 2 +- include/block/block.h | 2 +- include/block/block_int.h | 2 +- include/qemu/buffer.h | 118 ++++++++++++ include/{block => qemu}/coroutine.h | 0 include/{block => qemu}/coroutine_int.h | 2 +- include/qemu/osdep.h | 16 ++ include/qemu/sockets.h | 34 ++++ migration/qemu-file-buf.c | 2 +- migration/qemu-file-stdio.c | 2 +- migration/qemu-file-unix.c | 2 +- migration/qemu-file.c | 2 +- migration/rdma.c | 2 +- nbd.c | 2 +- qapi-schema.json | 6 +- qemu-char.c | 25 --- tests/test-coroutine.c | 4 +- tests/test-vmstate.c | 2 +- thread-pool.c | 2 +- ui/vnc.c | 203 +++++++++------------ ui/vnc.h | 16 +- util/Makefile.objs | 4 + util/buffer.c | 65 +++++++ coroutine-gthread.c => util/coroutine-gthread.c | 2 +- .../coroutine-sigaltstack.c | 2 +- coroutine-ucontext.c => util/coroutine-ucontext.c | 2 +- coroutine-win32.c => util/coroutine-win32.c | 2 +- util/oslib-posix.c | 71 +++++++ util/oslib-win32.c | 9 + qemu-coroutine-io.c => util/qemu-coroutine-io.c | 2 +- .../qemu-coroutine-lock.c | 4 +- .../qemu-coroutine-sleep.c | 2 +- qemu-coroutine.c => util/qemu-coroutine.c | 4 +- util/qemu-sockets.c | 158 +++++++++++++++- 47 files changed, 613 insertions(+), 199 deletions(-) create mode 100644 include/qemu/buffer.h rename include/{block => qemu}/coroutine.h (100%) rename include/{block => qemu}/coroutine_int.h (98%) create mode 100644 util/buffer.c rename coroutine-gthread.c => util/coroutine-gthread.c (99%) rename coroutine-sigaltstack.c => util/coroutine-sigaltstack.c (99%) rename coroutine-ucontext.c => util/coroutine-ucontext.c (99%) rename coroutine-win32.c => util/coroutine-win32.c (98%) rename qemu-coroutine-io.c => util/qemu-coroutine-io.c (99%) rename qemu-coroutine-lock.c => util/qemu-coroutine-lock.c (98%) rename qemu-coroutine-sleep.c => util/qemu-coroutine-sleep.c (96%) rename qemu-coroutine.c => util/qemu-coroutine.c (98%) -- 2.4.3