diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2010-12-24 12:14:14 +0900 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-12-24 10:35:34 +0200 |
commit | 2ae63bda50ec864a3e61d375b53c8e453ad50140 (patch) | |
tree | 53a8829d9a0a6512f96c42ecd1967456c7963fad /sysemu.h | |
parent | f3006dd1e60af3765c501a082d621f947d6e5974 (diff) | |
download | qemu-2ae63bda50ec864a3e61d375b53c8e453ad50140.zip qemu-2ae63bda50ec864a3e61d375b53c8e453ad50140.tar.gz qemu-2ae63bda50ec864a3e61d375b53c8e453ad50140.tar.bz2 |
pcie/aer: glue aer error injection into qemu monitor
introduce pcie_aer_inject_error command.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'sysemu.h')
-rw-r--r-- | sysemu.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -157,6 +157,11 @@ void pci_device_hot_add(Monitor *mon, const QDict *qdict); void drive_hot_add(Monitor *mon, const QDict *qdict); void do_pci_device_hot_remove(Monitor *mon, const QDict *qdict); +/* pcie aer error injection */ +void pcie_aer_inject_error_print(Monitor *mon, const QObject *data); +int do_pcie_aer_inejct_error(Monitor *mon, + const QDict *qdict, QObject **ret_data); + /* serial ports */ #define MAX_SERIAL_PORTS 4 |