Received: from eggs.gnu.org ([2001:4830:134:3::10]:57619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdKC2-0007pR-Jc for qemu-devel@nongnu.org; Sat, 19 Sep 2015 11:36:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZdKBz-0005xg-DY for qemu-devel@nongnu.org; Sat, 19 Sep 2015 11:36:50 -0400 Received: from mx2.suse.de ([195.135.220.15]:42756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdKBz-0005w9-7K for qemu-devel@nongnu.org; Sat, 19 Sep 2015 11:36:47 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Sat, 19 Sep 2015 17:36:37 +0200 Message-Id: <1442677004-4482-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 0/6] machine: Deprecate machine_init() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Marcel Apfelbaum , "Michael S. Tsirkin" , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Eduardo Habkost Hello, Based on my pending qom-next pull, this series continues Eduardo's machin= e cleanups. Having eliminated QEMUMachine and qemu_machine_register(), this series el= iminates machine_init() and MODULE_INIT_MACHINE. As a side effect a few non-machine callers had to be updated, mostly for = QemuOpts. It goes on to update Exynos4 machines for QOM, demonstrating that DEFINE_= MACHINE() can be inferior to inlining the QOM boilerplate code in case of multiple = machines. Independently, I noticed a nit in the PC machine macro I'm touching that = could probably even be cherry-picked. Regards, Andreas Cc: Eduardo Habkost Cc: Marcel Apfelbaum Cc: Michael S. Tsirkin Andreas F=C3=A4rber (6): Use type_init() for all machine QOM types hw/s390x/css: Use type_init() instead of machine_init() Introduce config_init() for QemuOpts Drop machine_init() and MODULE_INIT_MACHINE exynos4: Further QOM'ify machines pc: Use type_register_static() for machine types fsdev/qemu-fsdev-opts.c | 2 +- hw/acpi/core.c | 2 +- hw/arm/exynos4_boards.c | 73 ++++++++++++++++++++++++++-----------------= ------ 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 | 15 ++++------ hw/arm/stellaris.c | 11 ++------ hw/arm/versatilepb.c | 11 ++------ 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/s390x/css.c | 2 +- hw/smbios/smbios.c | 2 +- hw/sparc/sun4m.c | 14 ++++------ hw/sparc64/sun4u.c | 12 +++----- hw/xtensa/xtfpga.c | 2 +- include/hw/boards.h | 2 +- include/hw/i386/pc.h | 4 +-- include/qemu/module.h | 4 +-- ui/spice-core.c | 2 +- ui/vnc.c | 2 +- vl.c | 3 +- 27 files changed, 83 insertions(+), 100 deletions(-) --=20 2.1.4