aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/virtio-ccw.c
diff options
context:
space:
mode:
authorCornelia Huck <cohuck@redhat.com>2018-07-23 18:32:21 +0200
committerCornelia Huck <cohuck@redhat.com>2018-08-20 14:18:49 +0200
commit36699ab480340b928f2e589d83a94e6786e1965b (patch)
treef153aca5a4a4d2f0fe0fe920a0c66e6523c9727d /hw/s390x/virtio-ccw.c
parenta5f9ecc49d63a905da6598900e0a0eeec1ef269d (diff)
downloadqemu-36699ab480340b928f2e589d83a94e6786e1965b.zip
qemu-36699ab480340b928f2e589d83a94e6786e1965b.tar.gz
qemu-36699ab480340b928f2e589d83a94e6786e1965b.tar.bz2
s390x: remove 's390-squash-mcss' option
This option has been deprecated for two releases; remove it. Acked-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Acked-by: Halil Pasic <pasic@linux.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/s390x/virtio-ccw.c')
-rw-r--r--hw/s390x/virtio-ccw.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c
index 7ddb378..2713b7f 100644
--- a/hw/s390x/virtio-ccw.c
+++ b/hw/s390x/virtio-ccw.c
@@ -694,13 +694,10 @@ static void virtio_ccw_device_realize(VirtioCcwDevice *dev, Error **errp)
VirtIOCCWDeviceClass *k = VIRTIO_CCW_DEVICE_GET_CLASS(dev);
CcwDevice *ccw_dev = CCW_DEVICE(dev);
CCWDeviceClass *ck = CCW_DEVICE_GET_CLASS(ccw_dev);
- DeviceState *parent = DEVICE(ccw_dev);
- BusState *qbus = qdev_get_parent_bus(parent);
- VirtualCssBus *cbus = VIRTUAL_CSS_BUS(qbus);
SubchDev *sch;
Error *err = NULL;
- sch = css_create_sch(ccw_dev->devno, cbus->squash_mcss, errp);
+ sch = css_create_sch(ccw_dev->devno, errp);
if (!sch) {
return;
}