2016-06-29 10:12:57 +02:00
|
|
|
#ifndef MONITOR_QDEV_H
|
|
|
|
|
#define MONITOR_QDEV_H
|
2012-08-10 12:00:43 -05:00
|
|
|
|
|
|
|
|
/*** monitor commands ***/
|
|
|
|
|
|
2015-02-06 14:18:24 +01:00
|
|
|
void hmp_info_qtree(Monitor *mon, const QDict *qdict);
|
|
|
|
|
void hmp_info_qdm(Monitor *mon, const QDict *qdict);
|
2015-03-13 17:25:50 +01:00
|
|
|
void qmp_device_add(QDict *qdict, QObject **ret_data, Error **errp);
|
|
|
|
|
|
2012-08-10 12:00:43 -05:00
|
|
|
int qdev_device_help(QemuOpts *opts);
|
2015-03-12 14:00:41 +01:00
|
|
|
DeviceState *qdev_device_add(QemuOpts *opts, Error **errp);
|
2016-11-22 07:10:57 +01:00
|
|
|
void qdev_set_id(DeviceState *dev, const char *id);
|
2012-08-10 12:00:43 -05:00
|
|
|
|
|
|
|
|
#endif
|