| Submitter | fred.konrad@greensocs.com |
|---|---|
| Date | Jan. 14, 2013, 11:08 p.m. |
| Message ID | <1358204886-5688-8-git-send-email-fred.konrad@greensocs.com> |
| Download | mbox | patch |
| Permalink | /patch/211946/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/hw/s390-virtio-bus.c b/hw/s390-virtio-bus.c index f78725f..b5d1f2b 100644 --- a/hw/s390-virtio-bus.c +++ b/hw/s390-virtio-bus.c @@ -503,6 +503,8 @@ static int s390_virtio_busdev_init(DeviceState *dev) VirtIOS390Device *_dev = (VirtIOS390Device *)dev; VirtIOS390DeviceClass *_info = VIRTIO_S390_DEVICE_GET_CLASS(dev); + virtio_s390_bus_new(&_dev->bus, _dev); + return _info->init(_dev); } diff --git a/hw/s390-virtio-bus.h b/hw/s390-virtio-bus.h index ffc6f88..438b37f 100644 --- a/hw/s390-virtio-bus.h +++ b/hw/s390-virtio-bus.h @@ -96,6 +96,7 @@ struct VirtIOS390Device { virtio_net_conf net; VirtIOSCSIConf scsi; VirtIORNGConf rng; + VirtioBusState bus; }; typedef struct VirtIOS390Bus {