From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnXEV-0000M6-54 for qemu-devel@nongnu.org; Wed, 29 Apr 2015 15:01:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnXER-0008Ug-5n for qemu-devel@nongnu.org; Wed, 29 Apr 2015 15:01:19 -0400 From: Thomas Huth Date: Wed, 29 Apr 2015 21:01:06 +0200 Message-Id: <1430334068-12772-1-git-send-email-thuth@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] hw/ppc/spapr: Improve error printing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org Cc: aik@ozlabs.ru, agraf@suse.de, david@gibson.dropbear.id.au While loading alternate slof.bin images with the "-bios" option of qemu-softmmu-ppc64, I noticed that the error message is wrong when trying to load an non-existing file. Also, the error message is printed with hw_error() which results in a huge CPU register dump - something you don't expect when you just typed in a wrong filename, and is rather confusing here since you've got to find the real error message in the huge output first. So let's fix that, too. Thomas Huth (2): ppc/spapr: Fix error message when firmware could not be loaded hw/ppc/spapr: Use error_report() instead of hw_error() hw/ppc/spapr.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) -- 1.8.3.1