From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSeNZ-00041P-VI for qemu-devel@nongnu.org; Mon, 21 Nov 2011 19:38:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSeCv-0003ge-Q2 for qemu-devel@nongnu.org; Mon, 21 Nov 2011 19:27:34 -0500 Received: from lemon.ertos.nicta.com.au ([203.143.174.143]:32848 helo=lemon.ken.nicta.com.au) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSeCv-0003ga-F7 for qemu-devel@nongnu.org; Mon, 21 Nov 2011 19:27:29 -0500 Date: Tue, 22 Nov 2011 11:27:13 +1100 Message-ID: From: Peter Chubb In-Reply-To: References: MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] imx.31 and KZM board support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Peter Chubb , Peter Chubb , qemu-devel@nongnu.org >>>>> "Peter" =3D=3D Peter Maydell writes: Peter> On 21 November 2011 23:54, Peter Chubb Peter> wrote: >> Do you have a suggestion for an alternative to hw_error for guest >> bad behaviour? =C2=A0It seems to be used historically. =C2=A0For emulati= ng >> ARM, causing qemu to stop isn't such a bad idea ... the guest does >> something wrong and the qemu instance dies with a message. =C2=A0It's >> not as it that'll affect any other guests, each of which will have >> their own qemu instance. Peter> The question's come up before and we don't currently have a Peter> good API for it. Personally I prefer "silently ignore" for the Peter> moment; hardware doesn't chatter at you about guest OS Peter> misbehaviour... Speaking as an OS developer I'd much prefer to have the simulator yell at me when my code tries to write to bad registers. That's one of the reasons I try to use the emulator rather than the real hardware --- it allows one to find bugs otherwise invisible. -- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au http://www.ertos.nicta.com.au ERTOS within National ICT Australia