aboutsummaryrefslogtreecommitdiff
path: root/include/monitor/qdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/monitor/qdev.h')
-rw-r--r--include/monitor/qdev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/monitor/qdev.h b/include/monitor/qdev.h
index 74e6c55..1d57bf6 100644
--- a/include/monitor/qdev.h
+++ b/include/monitor/qdev.h
@@ -9,6 +9,8 @@ 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);
+DeviceState *qdev_device_add_from_qdict(const QDict *opts,
+ bool from_json, Error **errp);
/**
* qdev_set_id: parent the device and set its id if provided.