virtio: add Virtio*BusClass sizes
commit74ded8b487a074aff89a642630c0402053f80d1b
authorCornelia Huck <cohuck@redhat.com>
Mon, 24 Aug 2020 12:20:51 +0000 (24 14:20 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 2 Sep 2020 11:29:26 +0000 (2 07:29 -0400)
tree2fa307536cca6539119d9272b376ac21e63d0e46
parent0a48666a31575f1dc4e4c63f2edaa29c16923fb7
virtio: add Virtio*BusClass sizes

Both VirtioPCIBusClass and VirtioCcwBusClass are typedefs of
VirtioBusClass, but set .class_size in the TypeInfo anyway
to be safe if that changes in the future.

Reported-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Halil Pasic <pasic@linux.ibm.com>
Message-Id: <20200824122051.99432-1-cohuck@redhat.com>
hw/s390x/virtio-ccw.c
hw/virtio/virtio-pci.c