xref: /openbmc/qemu/include/monitor/qdev.h (revision b45c03f5)
1 #ifndef QEMU_QDEV_MONITOR_H
2 #define QEMU_QDEV_MONITOR_H
3 
4 #include "hw/qdev-core.h"
5 #include "qemu/typedefs.h"
6 
7 /*** monitor commands ***/
8 
9 void hmp_info_qtree(Monitor *mon, const QDict *qdict);
10 void hmp_info_qdm(Monitor *mon, const QDict *qdict);
11 void hmp_info_qom_tree(Monitor *mon, const QDict *dict);
12 void qmp_device_add(QDict *qdict, QObject **ret_data, Error **errp);
13 
14 int qdev_device_help(QemuOpts *opts);
15 DeviceState *qdev_device_add(QemuOpts *opts, Error **errp);
16 
17 #endif
18