summary refs log tree commit diff stats
path: root/hw/core/qdev-properties.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-06-26 14:22:36 +0100
committerPeter Maydell <peter.maydell@linaro.org>2015-06-26 14:22:36 +0100
commitf1fb9f0dc087c02b230be4cc96c5c76521f188fa (patch)
tree533d81691267040f8e3bd99e8fdcb35d41369953 /hw/core/qdev-properties.c
parentb21ab1fc217b4a2b8f2f85d16bdd8510a7817a34 (diff)
downloadfocaccia-qemu-f1fb9f0dc087c02b230be4cc96c5c76521f188fa.tar.gz
focaccia-qemu-f1fb9f0dc087c02b230be4cc96c5c76521f188fa.zip
qdev-properties-system: Change set_pointer's parse callback to use Error
Instead of having set_pointer() call a parse callback which returns
an error number that we then convert to an Error string with
error_set_from_qdev_prop_error(), make the parse callback take an
Error** and set the error itself. This will allow parse routines
to provide more helpful error messages than the generic ones.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1435068107-12594-2-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/core/qdev-properties.c')
0 files changed, 0 insertions, 0 deletions