summaryrefslogtreecommitdiff
path: root/hw/pci-stub.c
diff options
context:
space:
mode:
authorHervé Poussineau <hpoussin@reactos.org>2012-08-04 21:10:05 +0200
committerBlue Swirl <blauwirbel@gmail.com>2012-08-09 18:21:47 +0000
commitbde299a2473bc86acb5eb476e9962c7cf70c536b (patch)
tree72b782b2eb55410a57ffc46eab2dedd7d114fffa /hw/pci-stub.c
parentaebcf56fdedf17f74a97de12f96f3db0751cec6c (diff)
downloadqemu-bde299a2473bc86acb5eb476e9962c7cf70c536b.tar.gz
qemu-bde299a2473bc86acb5eb476e9962c7cf70c536b.tar.bz2
qemu-bde299a2473bc86acb5eb476e9962c7cf70c536b.zip
Revert "pci: add some stubs"
This reverts commit 0883c5159f1df05d8761014f65451c3c3b77ebcf. Those stubs were only used by PCI ESP emulation, which is now not compiled on architectures which have no PCI bus support. Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pci-stub.c')
-rw-r--r--hw/pci-stub.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/hw/pci-stub.c b/hw/pci-stub.c
index e083191529..134c4484b6 100644
--- a/hw/pci-stub.c
+++ b/hw/pci-stub.c
@@ -34,21 +34,6 @@ static void pci_error_message(Monitor *mon)
monitor_printf(mon, "PCI devices not supported\n");
}
-void pci_register_bar(PCIDevice *pci_dev, int region_num,
- uint8_t type, MemoryRegion *memory)
-{
-}
-
-const VMStateDescription vmstate_pci_device = {
- .name = "PCIDeviceStub",
- .version_id = 1,
- .minimum_version_id = 1,
- .minimum_version_id_old = 1,
- .fields = (VMStateField[]) {
- VMSTATE_END_OF_LIST()
- }
-};
-
int do_pcie_aer_inject_error(Monitor *mon,
const QDict *qdict, QObject **ret_data)
{