On 10.02.2017 18:43, Artyom Tarasenko wrote:
> On Fri, Feb 10, 2017 at 6:29 PM, Thomas Huth <th...@redhat.com> wrote:
>> On 10.02.2017 14:49, Thomas Huth wrote:
>>>  Hi,
>>>
>>> is it just me, or could it be that the sun4v machine is currently broken?
>>> I get the following error when I try to run QEMU with this machine:
>>>
>>> qemu-system-sparc64 -nographic -M sun4v
>>> qemu: fatal: Trap 0x0010 while trap level (6) >= MAXTL (6), Error state
[...]
>>> It works for when I use an older version of QEMU (version 2.7)...
>>
>> FWIW, it's also still working when I use QEMU 2.8, so this must be a
>> recent regression...
> 
> Oh. This is surprising. Sun4v practically wasn't implemented before my
> niagara series.
> So, OpenBIOS worked because -M sun4v was like -M sun4u with some sun4v
> instructions.
> Now sun4v is closer to a real sun4v - it has sun4v MMU, so OpenBIOS is
> not compatible with it anymore.
> The proper fix would be adding sun4v support to OpenBIOS, but it may
> take some time.

Ah, ok, thanks for the explanation! I was considering to finally enable
the prom-env-test for sparc64 (since the 32-bit TCG problem was solved
at one point in time, IIRC) when I ran into this problem. So I guess I
should only enable it for the sun4u machine initially...

 Thomas


Reply via email to