summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorEric Blake2017-04-27 23:58:13 +0200
committerMarkus Armbruster2017-05-08 20:32:14 +0200
commit8f16de18f6d8d0c0b4982bbe13f7b6a048b0e876 (patch)
tree55abfe1d901d16e9cd6364b4370e663a4d71e628 /include/hw
parentpci: Use struct instead of QDict to pass back parameters (diff)
downloadqemu-8f16de18f6d8d0c0b4982bbe13f7b6a048b0e876.tar.gz
qemu-8f16de18f6d8d0c0b4982bbe13f7b6a048b0e876.tar.xz
qemu-8f16de18f6d8d0c0b4982bbe13f7b6a048b0e876.zip
pci: Reduce scope of error injection
No one outside of pcie_aer.h was using error injection; mark them static for internal use. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Marcel Apfelbaum <marcel@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20170427215821.19397-3-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/pci/pcie_aer.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/hw/pci/pcie_aer.h b/include/hw/pci/pcie_aer.h
index 526802bd31..729a9439c8 100644
--- a/include/hw/pci/pcie_aer.h
+++ b/include/hw/pci/pcie_aer.h
@@ -100,8 +100,4 @@ void pcie_aer_root_write_config(PCIDevice *dev,
uint32_t addr, uint32_t val, int len,
uint32_t root_cmd_prev);
-/* error injection */
-int pcie_aer_inject_error(PCIDevice *dev, const PCIEAERErr *err);
-void pcie_aer_msg(PCIDevice *dev, const PCIEAERMsg *msg);
-
#endif /* QEMU_PCIE_AER_H */