From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9ZiG-0007an-SF for qemu-devel@nongnu.org; Thu, 17 Dec 2015 09:39:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9ZiB-00072D-0g for qemu-devel@nongnu.org; Thu, 17 Dec 2015 09:39:24 -0500 References: <1450354795-31608-1-git-send-email-armbru@redhat.com> <1450354795-31608-2-git-send-email-armbru@redhat.com> From: Thomas Huth Message-ID: <5672C90D.5060304@redhat.com> Date: Thu, 17 Dec 2015 15:39:09 +0100 MIME-Version: 1.0 In-Reply-To: <1450354795-31608-2-git-send-email-armbru@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 01/13] hw: Don't use hw_error() for machine initialization errors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster , qemu-devel@nongnu.org Cc: Markus Armbruster , Guan Xuetao , qemu-ppc@nongnu.org, qemu-arm@nongnu.org, Richard Henderson On 17/12/15 13:19, Markus Armbruster wrote: > Printing CPU registers is not helpful during machine initialization. > Moreover, these are straightforward configuration or "can get > resources" errors, so dumping core isn't appropriate either. Replace > hw_error() by error_report(); exit(1). Matches how we report these > errors in other machine initializations. > > Cc: Richard Henderson > Cc: qemu-arm@nongnu.org > Cc: qemu-ppc@nongnu.org > Cc: Guan Xuetao > Signed-off-by: Markus Armbruster > Reviewed-by: Peter Maydell > --- > hw/alpha/dp264.c | 11 ++++++----- > hw/arm/highbank.c | 6 ++++-- > hw/char/exynos4210_uart.c | 9 ++++++--- > hw/m68k/an5206.c | 4 +++- > hw/ppc/mac_newworld.c | 11 ++++++----- > hw/ppc/mac_oldworld.c | 16 +++++++++------- > hw/ppc/prep.c | 11 +++++++---- > hw/unicore32/puv3.c | 10 +++++++--- > 8 files changed, 48 insertions(+), 30 deletions(-) > Reviewed-by: Thomas Huth