spapr: add machine type specific instance init function
authorJason Wang <jasowang@redhat.com>
Thu, 23 Apr 2015 06:21:36 +0000 (14:21 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 27 Apr 2015 18:49:46 +0000 (20:49 +0200)
commitb0e966d0209fa5c93d510d1756a87dd4229b1f8a
tree3d189a83d3d4c9ebc3d550dccf86dfd403d738b2
parent5cb50e0acc7ba6063b87664404103cce217c0493
spapr: add machine type specific instance init function

This patches adds machine type specific instance initialization
functions. Those functions will be used by following patches to compat
class properties for legacy machine types.

Cc: Alexander Graf <agraf@suse.de>
Cc: qemu-ppc@nongnu.org
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/ppc/spapr.c