summary refs log tree commit diff stats
path: root/hw/pci/pci-internal.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2022-12-01 13:11:29 +0100
committerMarkus Armbruster <armbru@redhat.com>2022-12-19 16:21:56 +0100
commitd0e67298096bb42e99fe4c7ef9eae3cecbf46c28 (patch)
tree0a6b6c3570263f79532e901092addc879b091098 /hw/pci/pci-internal.h
parent236aafa61c83d26cf9aa8b043ce92194f9be144b (diff)
downloadfocaccia-qemu-d0e67298096bb42e99fe4c7ef9eae3cecbf46c28.tar.gz
focaccia-qemu-d0e67298096bb42e99fe4c7ef9eae3cecbf46c28.zip
pci: Move HMP command from hw/pci/pcie_aer.c to pci-hmp-cmds.c
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221201121133.3813857-10-armbru@redhat.com>
Diffstat (limited to 'hw/pci/pci-internal.h')
-rw-r--r--hw/pci/pci-internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/pci/pci-internal.h b/hw/pci/pci-internal.h
index 3199615e50..2ea356bdf5 100644
--- a/hw/pci/pci-internal.h
+++ b/hw/pci/pci-internal.h
@@ -18,4 +18,8 @@ const pci_class_desc *get_class_desc(int class);
 PCIBus *pci_find_bus_nr(PCIBus *bus, int bus_num);
 void pcibus_dev_print(Monitor *mon, DeviceState *dev, int indent);
 
+int pcie_aer_parse_error_string(const char *error_name,
+                                uint32_t *status, bool *correctable);
+int pcie_aer_inject_error(PCIDevice *dev, const PCIEAERErr *err);
+
 #endif