From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 0/2] fix startup crash on sparc/ppc guests
Date: Tue, 14 Feb 2012 10:19:51 +0100 [thread overview]
Message-ID: <1329211193-393-1-git-send-email-pbonzini@redhat.com> (raw)
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
next reply other threads:[~2012-02-14 9:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-14 9:19 Paolo Bonzini [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1329211193-393-1-git-send-email-pbonzini@redhat.com \
--to=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).