| Submitter | fred.konrad@greensocs.com |
|---|---|
| Date | Jan. 3, 2013, 2:52 p.m. |
| Message ID | <1357224744-14443-8-git-send-email-fred.konrad@greensocs.com> |
| Download | mbox | patch |
| Permalink | /patch/209273/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/hw/s390-virtio-bus.c b/hw/s390-virtio-bus.c index 67ecb3a..4e8471b 100644 --- a/hw/s390-virtio-bus.c +++ b/hw/s390-virtio-bus.c @@ -489,6 +489,8 @@ static int s390_virtio_busdev_init(DeviceState *dev) VirtIOS390Device *_dev = (VirtIOS390Device *)dev; VirtIOS390DeviceClass *_info = VIRTIO_S390_DEVICE_GET_CLASS(dev); + _dev->bus = virtio_s390_bus_new(_dev); + return _info->init(_dev); } diff --git a/hw/s390-virtio-bus.h b/hw/s390-virtio-bus.h index d5a6f9b..c585888 100644 --- a/hw/s390-virtio-bus.h +++ b/hw/s390-virtio-bus.h @@ -92,6 +92,7 @@ struct VirtIOS390Device { virtio_net_conf net; VirtIOSCSIConf scsi; VirtIORNGConf rng; + VirtioBusState *bus; }; typedef struct VirtIOS390Bus {