From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7Xlk-0005bl-4B for qemu-devel@nongnu.org; Tue, 13 Mar 2012 15:52:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7Xlh-0005af-7w for qemu-devel@nongnu.org; Tue, 13 Mar 2012 15:52:27 -0400 Received: from mail-pz0-f47.google.com ([209.85.210.47]:40287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7Xlh-0005aK-1S for qemu-devel@nongnu.org; Tue, 13 Mar 2012 15:52:25 -0400 Received: by dado14 with SMTP id o14so1483013dad.34 for ; Tue, 13 Mar 2012 12:52:23 -0700 (PDT) Message-ID: <4F5FA572.8000408@codemonkey.ws> Date: Tue, 13 Mar 2012 14:52:18 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <1330893156-26569-1-git-send-email-afaerber@suse.de> In-Reply-To: <1330893156-26569-1-git-send-email-afaerber@suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [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: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= Cc: lcapitulino@redhat.com, qemu-devel@nongnu.org, Avi Kivity On 03/04/2012 02:32 PM, Andreas Färber wrote: > Hello Anthony, > > This series prepares for QOM'ification of CPUs and machines by rearranging > constructor calls and Makefile dependency rules. I've separated it out due > 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 Applied. Thanks. Regards, Anthony Liguori > > 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_DEVICE. > * Provide new type_init() macro to be used instead of device_init(). > > Andreas Färber (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 >