[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [PATCH] s390x: always provide pci support
From: |
Thomas Huth |
Subject: |
Re: [qemu-s390x] [PATCH] s390x: always provide pci support |
Date: |
Mon, 11 Feb 2019 13:02:42 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 2019-02-11 12:32, Cornelia Huck wrote:
> 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.
>
> Signed-off-by: Cornelia Huck <address@hidden>
> ---
> Follow-up patch to the discussion around "hw/s390x: Fix the function
> arguments in the pci stub file". I've done a quick sanity test with
> tcg only so far.
> ---
> hw/s390x/Makefile.objs | 3 +-
> hw/s390x/s390-pci-stub.c | 77 -------------------------------------
> hw/s390x/s390-virtio-ccw.c | 4 --
> target/s390x/cpu_models.c | 5 ---
> target/s390x/gen-features.c | 1 -
> target/s390x/kvm.c | 4 +-
> 6 files changed, 2 insertions(+), 92 deletions(-)
> delete mode 100644 hw/s390x/s390-pci-stub.c
Reviewed-by: Thomas Huth <address@hidden>