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