From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4I6n-0006n6-36 for qemu-devel@nongnu.org; Sun, 04 Mar 2012 15:33:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4I6k-0006MJ-J4 for qemu-devel@nongnu.org; Sun, 04 Mar 2012 15:32:44 -0500 Received: from cantor2.suse.de ([195.135.220.15]:40931 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4I6k-0006M9-94 for qemu-devel@nongnu.org; Sun, 04 Mar 2012 15:32:42 -0500 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Sun, 4 Mar 2012 21:32:33 +0100 Message-Id: <1330893156-26569-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v4 0/3] Prepare QOM support for machines and CPU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Avi Kivity , =?UTF-8?q?Andreas=20F=C3=A4rber?= , anthony@codemonkey.ws, lcapitulino@redhat.com Hello Anthony, This series prepares for QOM'ification of CPUs and machines by rearrangin= g constructor calls and Makefile dependency rules. I've separated it out du= e to complaints about patch series length for conversion of all targets. Patch 1 is a RESEND that avoids an abort after patch 2. Patch 2 rearranges module init for QOM in the system emulators, so that objects can really be used beyond devices. Patch 3 adds QOM support to the user emulators. As required by Anthony, they are now only built once. Available at: http://repo.or.cz/w/qemu/afaerber.git/shortlog/refs/heads/qom-user.v4 Regards, Andreas Cc: Anthony Liguori Cc: Avi Kivity v3 -> v4: * Fix kvmclock abort due to too early kvm_enabled() check. * Introduce $(universal-obj-y) to build some objects only once. * Fix GPLv2 license link. v2 -> v3: * Rebased against qom-upstream.14 branch (and that against master). * Build common dependencies for user emulators in libuser/. * New dependencies needed after moving properties into object.c. * Add a qemu-user.c with stubs needed for successful linking. v1 -> v2: * Don't introduce extra early_init(), just relocate former MODULE_INIT_DE= VICE. * Provide new type_init() macro to be used instead of device_init(). Andreas F=C3=A4rber (3): kvmclock: Always register type qom: Register QOM infrastructure early qom: Add QOM support to user emulators Makefile | 6 +++--- Makefile.objs | 23 ++++++++++++++++++----- Makefile.target | 4 ++++ Makefile.user | 1 + bsd-user/main.c | 2 ++ darwin-user/main.c | 3 +++ hw/kvm/clock.c | 2 -- linux-user/main.c | 2 ++ qemu-user.c | 37 +++++++++++++++++++++++++++++++++++++ vl.c | 4 ++-- 10 files changed, 72 insertions(+), 12 deletions(-) create mode 100644 qemu-user.c --=20 1.7.7