From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:48810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtD5u-0005qO-Al for qemu-devel@nongnu.org; Mon, 11 Feb 2019 10:02:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtD5o-0006sQ-M4 for qemu-devel@nongnu.org; Mon, 11 Feb 2019 10:02:02 -0500 Date: Mon, 11 Feb 2019 16:01:23 +0100 From: Cornelia Huck Message-ID: <20190211160123.1bb4feaf.cohuck@redhat.com> In-Reply-To: <20190211113255.3837-1-cohuck@redhat.com> References: <20190211113255.3837-1-cohuck@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] s390x: always provide pci support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, qemu-s390x@nongnu.org Cc: Richard Henderson , David Hildenbrand , Halil Pasic , Christian Borntraeger , Thomas Huth , Collin Walling On Mon, 11 Feb 2019 12:32:55 +0100 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 > --- > 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 Queued to s390-next.