From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9bWH-0006mi-VP for qemu-devel@nongnu.org; Thu, 17 Dec 2015 11:35:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9bWH-0003kM-4z for qemu-devel@nongnu.org; Thu, 17 Dec 2015 11:35:09 -0500 Sender: Richard Henderson References: <1450354795-31608-1-git-send-email-armbru@redhat.com> <1450354795-31608-2-git-send-email-armbru@redhat.com> From: Richard Henderson Message-ID: <5672E424.8090008@twiddle.net> Date: Thu, 17 Dec 2015 08:34:44 -0800 MIME-Version: 1.0 In-Reply-To: <1450354795-31608-2-git-send-email-armbru@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed 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: Guan Xuetao , qemu-arm@nongnu.org, qemu-ppc@nongnu.org, Markus Armbruster On 12/17/2015 04:19 AM, 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: Richard Henderson r~