summaryrefslogtreecommitdiffstats
path: root/qemu/include/monitor/qdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/include/monitor/qdev.h')
-rw-r--r--qemu/include/monitor/qdev.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/qemu/include/monitor/qdev.h b/qemu/include/monitor/qdev.h
new file mode 100644
index 000000000..50ec2ffc1
--- /dev/null
+++ b/qemu/include/monitor/qdev.h
@@ -0,0 +1,17 @@
+#ifndef QEMU_QDEV_MONITOR_H
+#define QEMU_QDEV_MONITOR_H
+
+#include "hw/qdev-core.h"
+#include "qemu/typedefs.h"
+
+/*** monitor commands ***/
+
+void hmp_info_qtree(Monitor *mon, const QDict *qdict);
+void hmp_info_qdm(Monitor *mon, const QDict *qdict);
+void hmp_info_qom_tree(Monitor *mon, const QDict *dict);
+void qmp_device_add(QDict *qdict, QObject **ret_data, Error **errp);
+
+int qdev_device_help(QemuOpts *opts);
+DeviceState *qdev_device_add(QemuOpts *opts, Error **errp);
+
+#endif