aboutsummaryrefslogtreecommitdiff
path: root/hw/qdev.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-12-18 17:05:07 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2011-12-19 10:27:33 -0600
commit7db4c4e8e53fc6fe9fee3fe6f6e822f7f1549352 (patch)
tree17bbed2c3a87dc3776e564c1733d50f72b883ad7 /hw/qdev.h
parente3cb6ba65d265f2cc1313ee26e879407ff24663c (diff)
qom: interpret the return value when setting legacy properties
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/qdev.h')
-rw-r--r--hw/qdev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/qdev.h b/hw/qdev.h
index 6e184278f4..94f5ce91b4 100644
--- a/hw/qdev.h
+++ b/hw/qdev.h
@@ -370,6 +370,8 @@ void qdev_prop_set_defaults(DeviceState *dev, Property *props);
void qdev_prop_register_global_list(GlobalProperty *props);
void qdev_prop_set_globals(DeviceState *dev);
+void error_set_from_qdev_prop_error(Error **errp, int ret, DeviceState *dev,
+ Property *prop, const char *value);
static inline const char *qdev_fw_name(DeviceState *dev)
{