aboutsummaryrefslogtreecommitdiff
path: root/hw/s390-virtio-bus.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-02-06 11:07:18 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2012-02-06 11:16:20 -0600
commite87f7fc67948da80a0452c4fd523ec45f0d03f26 (patch)
tree76ded0b26829c0460644da2db59ac7f434a9dd39 /hw/s390-virtio-bus.c
parent4cafe606040bfb7526a954e131daa61afc5d747a (diff)
downloadqemu-e87f7fc67948da80a0452c4fd523ec45f0d03f26.zip
qemu-e87f7fc67948da80a0452c4fd523ec45f0d03f26.tar.gz
qemu-e87f7fc67948da80a0452c4fd523ec45f0d03f26.tar.bz2
s390x: fix qom-ification fall-out
Tested-by: Andreas Faerber <afaerber@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/s390-virtio-bus.c')
-rw-r--r--hw/s390-virtio-bus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/s390-virtio-bus.c b/hw/s390-virtio-bus.c
index b66ef68..49140f8 100644
--- a/hw/s390-virtio-bus.c
+++ b/hw/s390-virtio-bus.c
@@ -429,6 +429,7 @@ static TypeInfo virtio_s390_device_info = {
.parent = TYPE_DEVICE,
.instance_size = sizeof(VirtIOS390Device),
.class_init = virtio_s390_device_class_init,
+ .class_size = sizeof(VirtIOS390DeviceClass),
.abstract = true,
};