The problem happens when qdev_set_prop_* is passed a NULL pointer. The first patch allows this; the second improves the error message if there are problems with qdev properties, as requested by Peter.
Blue Swirl, can you apply? Paolo Bonzini (2): qdev: allow setting properties to NULL qdev: print error message before aborting hw/qdev-properties.c | 41 ++++++++++++++++++++++------------------- qerror.c | 8 ++++++++ qerror.h | 1 + 3 files changed, 31 insertions(+), 19 deletions(-) -- 1.7.7.6