Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NuVDw-0007CP-KP for qemu-devel@nongnu.org; Wed, 24 Mar 2010 14:22:36 -0400 Received: from [140.186.70.92] (port=49327 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NuVDu-0007CD-2j for qemu-devel@nongnu.org; Wed, 24 Mar 2010 14:22:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NuVDs-0007qt-Cc for qemu-devel@nongnu.org; Wed, 24 Mar 2010 14:22:33 -0400 Received: from mail-px0-f176.google.com ([209.85.216.176]:52929) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NuVDs-0007qf-7E for qemu-devel@nongnu.org; Wed, 24 Mar 2010 14:22:32 -0400 Received: by pxi6 with SMTP id 6so5158224pxi.18 for ; Wed, 24 Mar 2010 11:22:31 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1269451840-13941-4-git-send-email-agraf@suse.de> References: <1269451840-13941-1-git-send-email-agraf@suse.de> <1269451840-13941-4-git-send-email-agraf@suse.de> Date: Wed, 24 Mar 2010 20:22:31 +0200 Message-ID: Subject: Re: [Qemu-devel] [PATCH 3/3] S390: Don't compile in virtio-pci From: Blue Swirl Content-Type: text/plain; charset=UTF-8 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Carsten Otte , qemu-devel@nongnu.org On 3/24/10, Alexander Graf wrote: > As soon as virtio-pci.c gets compiled and used on S390 the internal qdev magic > gets confused and tries to give us PCI devices instead of S390 virtio devices. > > Since we don't have PCI on S390, we can safely not compile virtio-pci at all. > > In order to do this I added a new config option "CONFIG_PCI" that I enabled > for every platform except S390. Thanks to this the change should be a complete > nop for every other platform. The name should be CONFIG_VIRTIO_PCI, CONFIG_PCI would enable compilation of pci.c. > If anyone feels like their platform shouldn't support PCI either, just remove > the config option. If you think we should build even less when we don't have > PCI, feel free to come up with a follow-up patch. None of the currently supported Sparc32 boards have PCI. There are some real devices with PCI (JavaStations) though.