diff options
| author | Markus Armbruster <armbru@redhat.com> | 2022-12-01 13:11:29 +0100 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2022-12-19 16:21:56 +0100 |
| commit | d0e67298096bb42e99fe4c7ef9eae3cecbf46c28 (patch) | |
| tree | 0a6b6c3570263f79532e901092addc879b091098 /hw/pci/pci-internal.h | |
| parent | 236aafa61c83d26cf9aa8b043ce92194f9be144b (diff) | |
| download | focaccia-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.h | 4 |
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 |