target-s390: Don't compile in virtio-pci
authorAlexander Graf <agraf@suse.de>
Thu, 25 Mar 2010 13:59:02 +0000 (14:59 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 26 Mar 2010 22:41:10 +0000 (23:41 +0100)
commitc55ad9a2b04ddf04dfa71fe8ff08890cad61dcc0
treea54a12afb302195e7dc97effa499fb0e87eaa569
parent1f7459934f5da7292b339745891090f125f110d0
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 <agraf@suse.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
18 files changed:
Makefile.objs
default-configs/arm-softmmu.mak
default-configs/cris-softmmu.mak
default-configs/i386-softmmu.mak
default-configs/m68k-softmmu.mak
default-configs/microblaze-softmmu.mak
default-configs/mips-softmmu.mak
default-configs/mips64-softmmu.mak
default-configs/mips64el-softmmu.mak
default-configs/mipsel-softmmu.mak
default-configs/ppc-softmmu.mak
default-configs/ppc64-softmmu.mak
default-configs/ppcemb-softmmu.mak
default-configs/sh4-softmmu.mak
default-configs/sh4eb-softmmu.mak
default-configs/sparc-softmmu.mak
default-configs/sparc64-softmmu.mak
default-configs/x86_64-softmmu.mak