qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eduardo Habkost <ehabkost@redhat.com>
To: qemu-devel@nongnu.org
Cc: Marcel Apfelbaum <marcel.a@redhat.com>
Subject: [Qemu-devel] [PATCH 0/4] machine: Eliminate machine_init()/MODULE_INIT_MACHINE
Date: Tue, 16 Feb 2016 18:59:03 -0200	[thread overview]
Message-ID: <1455656347-29033-1-git-send-email-ehabkost@redhat.com> (raw)

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(-)

-- 
2.1.0

             reply	other threads:[~2016-02-16 20:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-16 20:59 Eduardo Habkost [this message]
2016-02-16 20:59 ` [Qemu-devel] [PATCH 1/4] machine: Use type_init() to register machine classes Eduardo Habkost
2016-02-17 15:32   ` Marcel Apfelbaum
2016-02-17 15:57   ` Michael S. Tsirkin
2016-02-18  2:35   ` David Gibson
2016-02-16 20:59 ` [Qemu-devel] [PATCH 2/4] s390x/css: Allocate channel_subsys statically Eduardo Habkost
2016-02-17 11:43   ` Cornelia Huck
2016-02-17 21:03     ` Eduardo Habkost
2016-02-23 11:12       ` Cornelia Huck
2016-02-16 20:59 ` [Qemu-devel] [PATCH 3/4] s390x/css: Use static initialization for channel_subsys fields Eduardo Habkost
2016-02-17 11:44   ` Cornelia Huck
2016-02-16 20:59 ` [Qemu-devel] [PATCH 4/4] module: Rename machine_init() to opts_init() Eduardo Habkost
2016-02-17 15:36   ` Marcel Apfelbaum
2016-02-17 15:58   ` Michael S. Tsirkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1455656347-29033-1-git-send-email-ehabkost@redhat.com \
    --to=ehabkost@redhat.com \
    --cc=marcel.a@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).