qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] [SPARC] Improve "ta 0" shutdown


From: Fabien Chouteau
Subject: Re: [Qemu-devel] [PATCH] [SPARC] Improve "ta 0" shutdown
Date: Mon, 14 Nov 2011 10:37:29 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110922 Lightning/1.0b2 Mnenhy/0.8.4 Thunderbird/3.1.15

On 13/11/2011 10:43, Blue Swirl wrote:
> On Thu, Nov 3, 2011 at 15:17, Fabien Chouteau <address@hidden> wrote:
>> This patch replace the previous implementation with this simplified and
>> more complete version (no shutdown when psret == 1).
> 
> In order to get in 1.0, the change should be limited to adding only a
> psret check to current helper_shutdown(). This way it should be also
> possible to retain the CPU feature check in translation time instead
> of pushing it to do_interrupt path, so it should be a better for
> performance anyway.
>

The purpose of this feature is to know when we get to this error state
(trap when interrupts disabled), if we abort with an error message or
just shutdown the emulator. In any case it's the end of the emulation,
it happens only once, so performance is not important here.

For 1.0, I can do another intermediate patch.

-- 
Fabien Chouteau



reply via email to

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