s390x: Convert QEMUMachine to MachineClass
commitd07aa7c7bb06fdc9973059889b33dfca1d2efe55
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Wed, 20 Aug 2014 12:16:34 +0000 (20 22:16 +1000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 25 Aug 2014 11:25:16 +0000 (25 13:25 +0200)
tree8afb33e454e6e220231c33efd8c737c152c62d1c
parent9cb805fd2674f474d058fee6d7aa9e83fcd3d336
s390x: Convert QEMUMachine to MachineClass

This converts s390-virtio and s390-ccw-virtio machines to QOM MachineClass.
This brings ability to add interfaces to the machine classes. The first
interface for addition will be NMI.

The patch is mechanical so no change in behavior is expected.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/s390x/s390-virtio-ccw.c
hw/s390x/s390-virtio.c