From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVmiY-0007q2-27 for qemu-devel@nongnu.org; Tue, 16 Feb 2016 15:59:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVmiU-0006MA-Ni for qemu-devel@nongnu.org; Tue, 16 Feb 2016 15:59:30 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVmiU-0006Lb-EY for qemu-devel@nongnu.org; Tue, 16 Feb 2016 15:59:26 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 72F21C09FAA6 for ; Tue, 16 Feb 2016 20:59:25 +0000 (UTC) From: Eduardo Habkost Date: Tue, 16 Feb 2016 18:59:03 -0200 Message-Id: <1455656347-29033-1-git-send-email-ehabkost@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 0/4] machine: Eliminate machine_init()/MODULE_INIT_MACHINE List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Marcel Apfelbaum There are currently three types of users of machine_init(): * type_register*() callers * The channel_subsys initialization of at hw/s390x/css.c * qemu_add_opts() callers This series: * Changes type_register*() callers to use type_init() * Changes s390x/css to simply initialize channel_subsys fields statically * Replaces machine_init() with a new opts_init() helper, after all remaining machine_init() users are just qemu_add_opts() callers Eduardo Habkost (4): machine: Use type_init() to register machine classes s390x/css: Allocate channel_subsys statically s390x/css: Use static initialization for channel_subsys fields module: Rename machine_init() to opts_init() fsdev/qemu-fsdev-opts.c | 2 +- hw/acpi/core.c | 2 +- hw/arm/exynos4_boards.c | 2 +- hw/arm/gumstix.c | 2 +- hw/arm/highbank.c | 2 +- hw/arm/nseries.c | 2 +- hw/arm/omap_sx1.c | 2 +- hw/arm/realview.c | 2 +- hw/arm/spitz.c | 2 +- hw/arm/stellaris.c | 2 +- hw/arm/versatilepb.c | 2 +- hw/arm/vexpress.c | 2 +- hw/arm/virt.c | 2 +- hw/lm32/lm32_boards.c | 2 +- hw/mips/mips_jazz.c | 2 +- hw/ppc/ppc405_boards.c | 2 +- hw/ppc/spapr.c | 2 +- hw/s390x/css.c | 185 +++++++++++++++++++++++-------------------= ------ hw/smbios/smbios.c | 2 +- hw/sparc/sun4m.c | 4 -- hw/sparc64/sun4u.c | 4 -- hw/xtensa/xtfpga.c | 2 +- include/hw/boards.h | 2 +- include/hw/i386/pc.h | 2 +- include/qemu/module.h | 4 +- ui/spice-core.c | 2 +- ui/vnc.c | 2 +- vl.c | 2 +- 28 files changed, 116 insertions(+), 129 deletions(-) --=20 2.1.0