diff options
author | Cornelia Huck <cohuck@redhat.com> | 2019-02-11 12:32:55 +0100 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2019-02-18 11:25:43 +0100 |
commit | 09ced81aac76e1adfa0d4b9868f7dc4b38e66f19 (patch) | |
tree | 948702f3c175e5e0f9a5e89eedd68042a1e31657 /hw/s390x/s390-virtio-ccw.c | |
parent | 44699e1c94bad41bbeb0c96f9ed344eb8e325413 (diff) | |
download | qemu-09ced81aac76e1adfa0d4b9868f7dc4b38e66f19.zip qemu-09ced81aac76e1adfa0d4b9868f7dc4b38e66f19.tar.gz qemu-09ced81aac76e1adfa0d4b9868f7dc4b38e66f19.tar.bz2 |
s390x: always provide pci support
We tried to make pci support optional on s390x in the past;
unfortunately, we still require the s390 phb to be created
unconditionally due to backwards compatibility issues.
Instead of sinking more effort into this (including compat
handling for older machines etc.) for non-obvious gains, let's
just make CONFIG_PCI something that is always set on s390x.
Note that you can still fence off pci for the _guest_ if you
provide a cpu model without the zpci feature.
Message-Id: <20190211113255.3837-1-cohuck@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/s390x/s390-virtio-ccw.c')
-rw-r--r-- | hw/s390x/s390-virtio-ccw.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c index 811fdf9..3fb5c88 100644 --- a/hw/s390x/s390-virtio-ccw.c +++ b/hw/s390x/s390-virtio-ccw.c @@ -272,10 +272,6 @@ static void ccw_init(MachineState *machine) machine->initrd_filename, "s390-ccw.img", "s390-netboot.img", true); - /* - * We cannot easily make the pci host bridge conditional as older QEMUs - * always created it. Doing so would break migration across QEMU versions. - */ dev = qdev_create(NULL, TYPE_S390_PCI_HOST_BRIDGE); object_property_add_child(qdev_get_machine(), TYPE_S390_PCI_HOST_BRIDGE, OBJECT(dev), NULL); |