]> git.proxmox.com Git - mirror_qemu.git/commit - hw/core/machine.c
hw/core: Introduce QEMU machine as QOM object
authorMarcel Apfelbaum <marcel.a@redhat.com>
Wed, 5 Mar 2014 17:30:45 +0000 (19:30 +0200)
committerAndreas Färber <afaerber@suse.de>
Wed, 12 Mar 2014 19:13:02 +0000 (20:13 +0100)
commit36d20cb2b39311869b061e1669cb55ccbf0af759
treeaadf05af30256ed9e1da1073a16c803b85b92ac3
parent49649f23db977137c031a21eee2f0521404f6710
hw/core: Introduce QEMU machine as QOM object

The main functional change is to convert QEMUMachine into MachineClass
and QEMUMachineInitArgs into MachineState, instance of MachineClass.

As a first step, in order to make possible an incremental development,
both QEMUMachine and QEMUMachineInitArgs are being embedded into the
new types.

Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/core/Makefile.objs
hw/core/machine.c [new file with mode: 0644]
include/hw/boards.h