diff options
author | Markus Armbruster | 2015-03-12 14:00:41 +0100 |
---|---|---|
committer | Markus Armbruster | 2015-06-22 18:20:39 +0200 |
commit | f006cf7fa9a63ba8e4ccf57d46231ce594301727 (patch) | |
tree | 0697a9d8dcac317ea512d1604bc702aa476a984f /include | |
parent | qdev-monitor: Propagate errors through set_property() (diff) | |
download | qemu-f006cf7fa9a63ba8e4ccf57d46231ce594301727.tar.gz qemu-f006cf7fa9a63ba8e4ccf57d46231ce594301727.tar.xz qemu-f006cf7fa9a63ba8e4ccf57d46231ce594301727.zip |
qdev-monitor: Propagate errors through qdev_device_add()
Also polish an error message while I'm touching the line anyway,
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/monitor/qdev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/monitor/qdev.h b/include/monitor/qdev.h index 719075283c..2ce857894e 100644 --- a/include/monitor/qdev.h +++ b/include/monitor/qdev.h @@ -11,6 +11,6 @@ void hmp_info_qdm(Monitor *mon, const QDict *qdict); void hmp_info_qom_tree(Monitor *mon, const QDict *dict); int do_device_add(Monitor *mon, const QDict *qdict, QObject **ret_data); int qdev_device_help(QemuOpts *opts); -DeviceState *qdev_device_add(QemuOpts *opts); +DeviceState *qdev_device_add(QemuOpts *opts, Error **errp); #endif |