qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] imx.31 and KZM board support


From: Peter Chubb
Subject: Re: [Qemu-devel] [PATCH] imx.31 and KZM board support
Date: Tue, 22 Nov 2011 11:27:13 +1100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

>>>>> "Peter" == Peter Maydell <address@hidden> writes:

Peter> On 21 November 2011 23:54, Peter Chubb
Peter> <address@hidden> wrote:
>> Do you have a suggestion for an alternative to hw_error for guest
>> bad behaviour?  It seems to be used historically.  For emulating
>> ARM, causing qemu to stop isn't such a bad idea ... the guest does
>> something wrong and the qemu instance dies with a message.  It'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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]