Peter Maydell e769bdc26d hw/qdev: Abort rather than ignoring errors adding device properties
Instead of ignoring any errors that occur when adding properties
to a new device in device_initfn(), check for them and abort if any
occur. The most likely cause is accidentally adding a duplicate
property, which is a programming error by the device author.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1364217314-7400-3-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-03-26 09:27:02 -05:00
..
2013-02-22 21:29:44 +01:00
2013-03-25 11:13:10 +01:00
2013-03-26 09:26:36 -05:00
2013-03-12 10:35:55 +01:00
2013-03-22 13:25:07 +01:00
2013-03-18 19:40:34 +01:00
2013-03-25 11:13:10 +01:00
2013-03-18 10:21:56 +01:00
2013-03-15 16:41:58 +00:00
2013-03-22 13:25:07 +01:00
2013-03-22 13:30:40 +01:00
2013-02-01 11:03:02 -06:00
2013-02-01 11:03:02 -06:00
2013-03-25 11:13:10 +01:00
2013-03-25 11:13:10 +01:00
2013-03-15 16:41:59 +00:00