xref: /openbmc/qemu/include/monitor/qdev.h (revision 5cc8767d)
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 qmp_device_add(QDict *qdict, QObject **ret_data, Error **errp);
11 
12 int qdev_device_help(QemuOpts *opts);
13 DeviceState *qdev_device_add(QemuOpts *opts, Error **errp);
14 void qdev_set_id(DeviceState *dev, const char *id);
15 
16 #endif
17