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

#include "hw/qdev-core.h"

/*** monitor commands ***/

void hmp_info_qtree(Monitor *mon, const QDict *qdict);
void hmp_info_qdm(Monitor *mon, const QDict *qdict);
void hmp_info_qom_tree(Monitor *mon, const QDict *dict);
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);

#endif