From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TStkX-00022Q-Vg for qemu-devel@nongnu.org; Mon, 29 Oct 2012 14:07:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TStkS-0005Yd-Ne for qemu-devel@nongnu.org; Mon, 29 Oct 2012 14:07:45 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:62356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TStkS-0005YM-HN for qemu-devel@nongnu.org; Mon, 29 Oct 2012 14:07:40 -0400 Received: by mail-pb0-f45.google.com with SMTP id rp2so4194358pbb.4 for ; Mon, 29 Oct 2012 11:07:39 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Mon, 29 Oct 2012 19:07:07 +0100 Message-Id: <1351534038-15503-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 00/11] Trim dependencies of qemu-ga, vscclient, tests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org qemu-ga and vscclient have a very long list of dependencies, but this is mostly because of tools-obj-y and because of qemu-tool.c's own dependencies. These are complex to disentangle, and became worse with recent additions (especially fdsets). Luckily, some dependencies (for example on qemu-timer.c, patches 8-10) can be removed from qemu-tool.c. When not possible or overly complex, stuff can be moved out of qemu-tool.c and into the files that actually require the stubbed-out functions, using weak references. I would like to do more of these, but because of the currently-broken state of Win32 and slightly different semantics of weak references between ELF and Win32, this does just the minimum necessary. Paolo Paolo Bonzini (11): janitor: move iovector functions out of cutils.c build: move cutils.o and qemu-timer-common.o to oslib-obj-y compiler: use weak aliases to provide default definitions sockets: use weak aliases instead of qemu-tool.c fdsets: use weak aliases instead of qemu-tool.c/qemu-user.c iohandler: add weak alias in qemu-sockets.c, for qemu-ga win32: add weak version of qemu_fd_register qemu-timer: make initialization functions idempotent main-loop: unify qemu_init_main_loop between QEMU and tools qemu-tool: do not depend on qemu-timer.c build: do not include main loop where it is not actually used Makefile | 7 ++-- Makefile.objs | 13 ++++--- arch_init.h | 2 +- compiler.h | 11 +++--- cutils.c | 108 --------------------------------------------------------- iov.c | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ main-loop.c | 5 ++- main-loop.h | 10 ------ osdep.c | 30 ++++++++++++++++ oslib-win32.c | 5 +++ qemu-common.h | 1 - qemu-sockets.c | 18 ++++++++++ qemu-timer.c | 12 +++++-- qemu-tool.c | 35 +------------------ qemu-user.c | 20 ----------- qmp.c | 3 +- tests/Makefile | 4 +-- vl.c | 5 --- 18 file modificati, 188 inserzioni(+), 204 rimozioni(-) -- 1.7.12.1