]> Git Repo - qemu.git/commit - hw/qdev-properties.c
qdev: improve property error reporting.
authorGerd Hoffmann <[email protected]>
Wed, 16 Dec 2009 13:22:11 +0000 (14:22 +0100)
committerAnthony Liguori <[email protected]>
Fri, 18 Dec 2009 17:26:30 +0000 (11:26 -0600)
commit9ef5c4bf8132eb72db2dd83fce3fa0005a6dd13f
tree441add29c9c683f8637875f1dcbd40fae5d278c9
parent69fd02eea61e6d9e7cd7831ef26522a5ac9e146c
qdev: improve property error reporting.

Add a error message in case we fail to parse a qdev property.

Also make qemu not abort() in case setting a global property can't be
set.  This used to be a clear programming error.  The introduction of
the -global switch changed that though, so better exit instead (after
printing the new error message).

Signed-off-by: Gerd Hoffmann <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
hw/qdev-properties.c
This page took 0.025576 seconds and 4 git commands to generate.