machine: Deprecate machine_init()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | Use type_init() for all machine QOM typeshw/ hw/ hw/ +16 more | +34 | 0 replies | |
| 2/6 | hw/s390x/css: Use type_init() instead of machine_init()hw/ | +1 | 1 reply | |
| 3/6 | Introduce config_init() for QemuOptsfsdev/ hw/ hw/ +4 more | +9 | 0 replies | |
| 4/6 | Drop machine_init() and MODULE_INIT_MACHINEinclude/ vl.c | +0 | 0 replies | |
| 5/6 | exynos4: Further QOM'ify machineshw/ | +38 | 0 replies | |
| 6/6 | pc: Use type_register_static() for machine typesinclude/ | +1 | 0 replies |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by.
| Patch | Christian Borntraeger |
|---|---|
| 1/6 | |
| 2/6 | A-b |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/6] machine: Deprecate machine_init()
Hello,
Based on my pending qom-next pull, this series continues Eduardo's machine cleanups. Having eliminated QEMUMachine and qemu_machine_register(), this series eliminates 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
Andreas Färber (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(-)
Signature · 1 line
2.1.4