s390x: Introduce S390MachineClass
commit8b8a61ad8cc054e52b5d17c8ba45691d2dc0acbd
authorJanosch Frank <frankja@linux.vnet.ibm.com>
Mon, 7 Mar 2016 08:04:21 +0000 (7 09:04 +0100)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 10 Mar 2016 09:37:16 +0000 (10 10:37 +0100)
tree4d36d88ad217c6c52b8e1f24f0620c3c3f52c04b
parent4fca6548723f198ee927470ca4864e8f2f1fbcc5
s390x: Introduce S390MachineClass

As we now have the new machine definitions, that let us disable/enable
machine options more easily, we need a way to save them and make them
publicly available.

The new s390-virtio-ccw.h header exports the s390 ccw machine state
and class, so they can be easily used in other C files.

Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/s390-virtio-ccw.c
include/hw/s390x/s390-virtio-ccw.h [new file with mode: 0644]