summaryrefslogtreecommitdiffstats
path: root/include/monitor/qdev.h
blob: eaa947d73a3ca9f301d124ae7585a81d2e2659d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef MONITOR_QDEV_H
#define MONITOR_QDEV_H

/*** monitor commands ***/

void hmp_info_qtree(Monitor *mon, const QDict *qdict);
void hmp_info_qdm(Monitor *mon, const QDict *qdict);
void qmp_device_add(QDict *qdict, QObject **ret_data, Error **errp);

int qdev_device_help(QemuOpts *opts);
DeviceState *qdev_device_add(QemuOpts *opts, Error **errp);
void qdev_set_id(DeviceState *dev, const char *id);

#endif