From b305b9d7d6990e492966ffb1fdf619482adeb7e2 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Thu, 25 Mar 2010 14:59:02 +0100 Subject: target-s390: Don't compile in virtio-pci 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_VIRTIO_PCI" that I enabled for every platform except S390. Thanks to this the change should be a complete nop for every other platform. Signed-off-by: Alexander Graf Signed-off-by: Aurelien Jarno --- default-configs/mips-softmmu.mak | 1 + 1 file changed, 1 insertion(+) (limited to 'default-configs/mips-softmmu.mak') diff --git a/default-configs/mips-softmmu.mak b/default-configs/mips-softmmu.mak index 345a093da6..8ef1c04b9f 100644 --- a/default-configs/mips-softmmu.mak +++ b/default-configs/mips-softmmu.mak @@ -16,3 +16,4 @@ CONFIG_IDE_ISA=y CONFIG_IDE_PIIX=y CONFIG_NE2000_ISA=y CONFIG_SOUND=y +CONFIG_VIRTIO_PCI=y -- cgit v1.2.1