From: Hervé Poussineau Date: Sat, 4 Aug 2012 19:10:05 +0000 (+0200) Subject: Revert "pci: add some stubs" X-Git-Tag: v1.2.0-rc0~73 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bde299a2473bc86acb5eb476e9962c7cf70c536b;p=thirdparty%2Fqemu.git 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 Signed-off-by: Blue Swirl --- diff --git a/hw/pci-stub.c b/hw/pci-stub.c index e0831915291..134c4484b68 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) {