iotests: fix loading of common.config from tests/ subdir
[qemu/ar7.git] / include / monitor / qdev.h
blobeaa947d73a3ca9f301d124ae7585a81d2e2659d4
1 #ifndef MONITOR_QDEV_H
2 #define MONITOR_QDEV_H
4 /*** monitor commands ***/
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);
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);
14 #endif