From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxjjE-0002j5-3L for qemu-devel@nongnu.org; Sat, 04 Aug 2012 15:09:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SxjjD-0000Ee-1u for qemu-devel@nongnu.org; Sat, 04 Aug 2012 15:09:35 -0400 Received: from smtp1-g21.free.fr ([212.27.42.1]:55213) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxjjC-0000E6-Em for qemu-devel@nongnu.org; Sat, 04 Aug 2012 15:09:34 -0400 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Sat, 4 Aug 2012 21:10:05 +0200 Message-Id: <1344107406-27608-4-git-send-email-hpoussin@reactos.org> In-Reply-To: <1344107406-27608-1-git-send-email-hpoussin@reactos.org> References: <1344107406-27608-1-git-send-email-hpoussin@reactos.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v3 3/4] Revert "pci: add some stubs" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Blue Swirl , Paolo Bonzini , =?UTF-8?q?Andreas=20F=C3=A4rber?= , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , Anthony Liguori 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=C3=A9 Poussineau --- hw/pci-stub.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/hw/pci-stub.c b/hw/pci-stub.c index e083191..134c448 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"); } =20 -void pci_register_bar(PCIDevice *pci_dev, int region_num, - uint8_t type, MemoryRegion *memory) -{ -} - -const VMStateDescription vmstate_pci_device =3D { - .name =3D "PCIDeviceStub", - .version_id =3D 1, - .minimum_version_id =3D 1, - .minimum_version_id_old =3D 1, - .fields =3D (VMStateField[]) { - VMSTATE_END_OF_LIST() - } -}; - int do_pcie_aer_inject_error(Monitor *mon, const QDict *qdict, QObject **ret_data) { --=20 1.7.10.4