diff options
author | Markus Armbruster | 2015-12-17 17:35:15 +0100 |
---|---|---|
committer | Markus Armbruster | 2016-01-13 11:58:58 +0100 |
commit | 7b55044f9d96ec518e7ab58bd8a3637b52a35f79 (patch) | |
tree | e2fc39247c299d290a31458e981a20ab2b073515 /include/hw/pci/pci-assign.h | |
parent | error: Don't append a newline when printing the error hint (diff) | |
download | qemu-7b55044f9d96ec518e7ab58bd8a3637b52a35f79.tar.gz qemu-7b55044f9d96ec518e7ab58bd8a3637b52a35f79.tar.xz qemu-7b55044f9d96ec518e7ab58bd8a3637b52a35f79.zip |
hw/arm/virt: Fix property "gic-version" error handling
virt_set_gic_version() calls exit(1) when passed an invalid property
value. Property setters are not supposed to do that. Screwed up in
commit b92ad39. Harmless, because the property belongs to a machine.
Set an error object instead.
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-arm@nongnu.org
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/pci/pci-assign.h')
0 files changed, 0 insertions, 0 deletions