qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] fix startup crash on sparc/ppc guests
@ 2012-02-14  9:19 Paolo Bonzini
  2012-02-14  9:19 ` [Qemu-devel] [PATCH 1/2] qdev: allow setting properties to NULL Paolo Bonzini
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Paolo Bonzini @ 2012-02-14  9:19 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-02-17 16:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-14  9:19 [Qemu-devel] [PATCH 0/2] fix startup crash on sparc/ppc guests Paolo Bonzini
2012-02-14  9:19 ` [Qemu-devel] [PATCH 1/2] qdev: allow setting properties to NULL Paolo Bonzini
2012-02-14  9:19 ` [Qemu-devel] [PATCH 2/2] qdev: print error message before aborting Paolo Bonzini
2012-02-17 16:30   ` Peter Maydell
2012-02-17 16:35     ` Paolo Bonzini
2012-02-14 20:13 ` [Qemu-devel] [PATCH 0/2] fix startup crash on sparc/ppc guests Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).