aboutsummaryrefslogtreecommitdiff
path: root/sysemu.h
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2010-12-24 12:14:14 +0900
committerMichael S. Tsirkin <mst@redhat.com>2010-12-24 10:35:34 +0200
commit2ae63bda50ec864a3e61d375b53c8e453ad50140 (patch)
tree53a8829d9a0a6512f96c42ecd1967456c7963fad /sysemu.h
parentf3006dd1e60af3765c501a082d621f947d6e5974 (diff)
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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysemu.h b/sysemu.h
index 38a20a3b04..4182aac3c1 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -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