From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:41276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxEYg-0005Ye-Ac for qemu-devel@nongnu.org; Tue, 14 Feb 2012 04:20:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RxEYW-00028q-F1 for qemu-devel@nongnu.org; Tue, 14 Feb 2012 04:20:22 -0500 Received: from mail-pw0-f45.google.com ([209.85.160.45]:42912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxEYW-00028b-9V for qemu-devel@nongnu.org; Tue, 14 Feb 2012 04:20:12 -0500 Received: by pbbro12 with SMTP id ro12so319576pbb.4 for ; Tue, 14 Feb 2012 01:20:10 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 14 Feb 2012 10:19:51 +0100 Message-Id: <1329211193-393-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] fix startup crash on sparc/ppc guests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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