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