virtio: add class_size to VirtioPCIDeviceTypeInfo
commit8ea90ee690eb78bbe6644cae3a7eff857f8b4569
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 7 Mar 2019 08:02:42 +0000 (7 09:02 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 11 Mar 2019 07:04:12 +0000 (11 08:04 +0100)
treeb321637b3e8ddd145a364a15d3a6a4f0373c15d8
parente2a18635a400b0e68679614132e9ef6316105590
virtio: add class_size to VirtioPCIDeviceTypeInfo

Needed when VirtioPCIClass subclasses have their own
class struct with some extra fields.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20190307080244.9011-2-kraxel@redhat.com
hw/virtio/virtio-pci.c
hw/virtio/virtio-pci.h