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 /target/s390x/cpu_models.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 'target/s390x/cpu_models.c')
-rw-r--r-- | target/s390x/cpu_models.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/target/s390x/cpu_models.c b/target/s390x/cpu_models.c index 7c253ff..249011f 100644 --- a/target/s390x/cpu_models.c +++ b/target/s390x/cpu_models.c @@ -1314,11 +1314,6 @@ static void register_types(void) /* init all bitmaps from gnerated data initially */ s390_init_feat_bitmap(qemu_max_cpu_feat_init, qemu_max_cpu_feat); -#ifndef CONFIG_USER_ONLY - if (!pci_available) { - clear_bit(S390_FEAT_ZPCI, qemu_max_cpu_feat); - } -#endif for (i = 0; i < ARRAY_SIZE(s390_cpu_defs); i++) { s390_init_feat_bitmap(s390_cpu_defs[i].base_init, s390_cpu_defs[i].base_feat); |