pc: Don't use QEMUMachine anymore
commit865906f7fdadd2732441ab158787f81f6a212bfe
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 15 May 2015 17:18:56 +0000 (15 14:18 -0300)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 31 May 2015 14:26:42 +0000 (31 16:26 +0200)
treec6d74b3e79646bfffe313919db810367d06ac5b1
parent25519b062c70f2afe2d2f0c262f3838a41e8bc7c
pc: Don't use QEMUMachine anymore

Now that we have a DEFINE_PC_MACHINE helper macro that just requires an
initialization function, it is trivial to convert them to register a QOM
machine class directly, instead of using QEMUMachine.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc_piix.c
hw/i386/pc_q35.c
include/hw/i386/pc.h