qemu/default-configs
David Gibson 79ca616f29 pci: Cleanup configuration for pci-hotplug.c
pci-hotplug.c and the CONFIG_PCI_HOTPLUG variable which controls its
compilation are misnamed.  They're not about PCI hotplug in general, but
rather about the pci_add/pci_del interface which are now deprecated in
favour of the more general device_add/device_del interface.  This patch
therefore renames them to pci-hotplug-old.c and CONFIG_PCI_HOTPLUG_OLD.

CONFIG_PCI_HOTPLUG=y was listed twice in {i386,x86_64}-softmmu.make for no
particular reason, so we clean that up too.  In addition it was included in
ppc64-softmmu.mak for which the old hotplug interface was never used and is
unsuitable, so we remove that too.

Most of pci-hotplug.c was additionaly protected by #ifdef TARGET_I386.  The
small piece which wasn't is only called from the pci_add and pci_del hooks
in hmp-commands.hx, which themselves were protected by #ifdef TARGET_I386.
This patch therefore also removes the #ifdef from pci-hotplug-old.c,
and changes the ifdefs in hmp-commands.hx to use CONFIG_PCI_HOTPLUG_OLD.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2013-07-04 10:45:31 +03:00
..
alpha-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
alpha-softmmu.mak hw: move MC146818RTC to hw/timer/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
arm-linux-user.mak Generate gdbstub-xml.c only when needed 2009-10-08 21:17:11 -05:00
arm-softmmu.mak hw: Add lost ARM core again 2013-04-15 15:16:30 +02:00
armeb-linux-user.mak Generate gdbstub-xml.c only when needed 2009-10-08 21:17:11 -05:00
cris-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
cris-softmmu.mak hw: move NICs to hw/net/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
i386-bsd-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
i386-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
i386-softmmu.mak pci: Cleanup configuration for pci-hotplug.c 2013-07-04 10:45:31 +03:00
lm32-softmmu.mak configure: eliminate target_libs_softmmu 2013-04-18 14:12:31 +02:00
m68k-linux-user.mak Generate gdbstub-xml.c only when needed 2009-10-08 21:17:11 -05:00
m68k-softmmu.mak hw: move NICs to hw/net/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
microblaze-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
microblaze-softmmu.mak hw: move SSI controllers to hw/ssi/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
microblazeel-linux-user.mak microblaze: Correct copy+paste:o in defconfigs 2011-03-01 22:17:52 +01:00
microblazeel-softmmu.mak hw: move SSI controllers to hw/ssi/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
mips64-linux-user.mak linux-user: Add default configs for mips64[el] 2012-02-02 17:51:20 +02:00
mips64-softmmu.mak audio: replace audio card configuration with default-configs 2013-04-29 12:16:37 -05:00
mips64el-linux-user.mak linux-user: Add default configs for mips64[el] 2012-02-02 17:51:20 +02:00
mips64el-softmmu.mak audio: replace audio card configuration with default-configs 2013-04-29 12:16:37 -05:00
mips-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
mips-softmmu.mak audio: replace audio card configuration with default-configs 2013-04-29 12:16:37 -05:00
mipsel-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
mipsel-softmmu.mak audio: replace audio card configuration with default-configs 2013-04-29 12:16:37 -05:00
mipsn32-linux-user.mak linux-user: Add default-configs for mipsn32[el] 2012-02-02 17:51:20 +02:00
mipsn32el-linux-user.mak linux-user: Add default-configs for mipsn32[el] 2012-02-02 17:51:20 +02:00
moxie-softmmu.mak hw: move MC146818RTC to hw/timer/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
or32-linux-user.mak target-or32: Add linux user support 2012-07-27 21:13:05 +00:00
or32-softmmu.mak target-or32: Add target stubs and QOM cpu 2012-07-27 21:12:55 +00:00
pci.mak NVMe: Initial commit for new storage interface 2013-06-17 17:47:59 +02:00
ppc64-linux-user.mak Generate gdbstub-xml.c only when needed 2009-10-08 21:17:11 -05:00
ppc64-softmmu.mak pci: Cleanup configuration for pci-hotplug.c 2013-07-04 10:45:31 +03:00
ppc64abi32-linux-user.mak Generate gdbstub-xml.c only when needed 2009-10-08 21:17:11 -05:00
ppc-linux-user.mak Generate gdbstub-xml.c only when needed 2009-10-08 21:17:11 -05:00
ppc-softmmu.mak kvm/openpic: in-kernel mpic support 2013-07-01 01:11:14 +02:00
ppcemb-softmmu.mak kvm/openpic: in-kernel mpic support 2013-07-01 01:11:14 +02:00
s390x-linux-user.mak s390x: build s390x by default 2011-05-20 17:35:12 +02:00
s390x-softmmu.mak hw: move char devices to hw/char/, configure via default-configs/ 2013-04-08 18:13:14 +02:00
sh4-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
sh4-softmmu.mak hw: move display devices to hw/display/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
sh4eb-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
sh4eb-softmmu.mak hw: move display devices to hw/display/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
sound.mak audio: Enable all cards 2013-05-03 12:04:49 -05:00
sparc32plus-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
sparc64-bsd-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
sparc64-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
sparc64-softmmu.mak hw: move PCI bridges to hw/pci-* or hw/ARCH 2013-04-08 18:13:14 +02:00
sparc-bsd-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
sparc-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
sparc-softmmu.mak hw: move other devices to hw/misc/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
unicore32-linux-user.mak unicore32: necessary modifications for other files to support unicore32 2011-04-12 18:49:05 +00:00
unicore32-softmmu.mak unicore32-softmmu: Add ps2 support 2012-08-11 09:37:02 +00:00
usb.mak make usb devices configurable 2013-02-19 12:28:48 +01:00
x86_64-bsd-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
x86_64-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
x86_64-softmmu.mak pci: Cleanup configuration for pci-hotplug.c 2013-07-04 10:45:31 +03:00
xtensa-softmmu.mak xtensa_lx60: add FLASH support 2011-11-02 05:05:52 +04:00
xtensaeb-softmmu.mak xtensa_lx60: add FLASH support 2011-11-02 05:05:52 +04:00