diff options
| author | Peter Maydell | 2015-06-26 15:22:36 +0200 |
|---|---|---|
| committer | Peter Maydell | 2015-06-26 15:22:36 +0200 |
| commit | f1fb9f0dc087c02b230be4cc96c5c76521f188fa (patch) | |
| tree | 533d81691267040f8e3bd99e8fdcb35d41369953 /scripts/switch-timer-api | |
| parent | target-arm: A64: Print ELR when taking exceptions (diff) | |
| download | qemu-f1fb9f0dc087c02b230be4cc96c5c76521f188fa.tar.gz qemu-f1fb9f0dc087c02b230be4cc96c5c76521f188fa.tar.xz 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 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
