diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2015-06-26 14:22:36 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-06-26 14:22:36 +0100 |
commit | f1fb9f0dc087c02b230be4cc96c5c76521f188fa (patch) | |
tree | 533d81691267040f8e3bd99e8fdcb35d41369953 /qemu-timer.c | |
parent | b21ab1fc217b4a2b8f2f85d16bdd8510a7817a34 (diff) |
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 'qemu-timer.c')
0 files changed, 0 insertions, 0 deletions