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 /include | |
parent | 236aafa61c83d26cf9aa8b043ce92194f9be144b (diff) | |
download | qemu-d0e67298096bb42e99fe4c7ef9eae3cecbf46c28.zip qemu-d0e67298096bb42e99fe4c7ef9eae3cecbf46c28.tar.gz qemu-d0e67298096bb42e99fe4c7ef9eae3cecbf46c28.tar.bz2 |
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 'include')
-rw-r--r-- | include/monitor/hmp.h | 1 | ||||
-rw-r--r-- | include/sysemu/sysemu.h | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/monitor/hmp.h b/include/monitor/hmp.h index dfbc0c9..27f8639 100644 --- a/include/monitor/hmp.h +++ b/include/monitor/hmp.h @@ -143,5 +143,6 @@ void hmp_info_vcpu_dirty_limit(Monitor *mon, const QDict *qdict); void hmp_human_readable_text_helper(Monitor *mon, HumanReadableText *(*qmp_handler)(Error **)); void hmp_info_stats(Monitor *mon, const QDict *qdict); +void hmp_pcie_aer_inject_error(Monitor *mon, const QDict *qdict); #endif diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h index 6a7a31e..25be2a6 100644 --- a/include/sysemu/sysemu.h +++ b/include/sysemu/sysemu.h @@ -61,9 +61,6 @@ extern int nb_option_roms; extern const char *prom_envs[MAX_PROM_ENVS]; extern unsigned int nb_prom_envs; -/* pcie aer error injection */ -void hmp_pcie_aer_inject_error(Monitor *mon, const QDict *qdict); - /* serial ports */ /* Return the Chardev for serial port i, or NULL if none */ |