On Mon, Oct 10, 2016 at 11:14 PM, Richard Henderson <r...@twiddle.net> wrote:
> On 10/01/2016 05:05 AM, Artyom Tarasenko wrote:
>>
>>      if (is_exec) {
>> -        helper_raise_exception(env, TT_CODE_ACCESS);
>> +        if (env->lsu & (IMMU_E)) {
>> +            helper_raise_exception(env, TT_CODE_ACCESS);
>> +        }
>>      } else {
>> -        helper_raise_exception(env, TT_DATA_ACCESS);
>> +        if (env->lsu & (DMMU_E)) {
>> +                helper_raise_exception(env, TT_DATA_ACCESS);
>> +        }
>
>
> The cpu really does no kind of machine check for a hypervisor write to
> 0x1122334455667788?

A bare metal machine would raise Real Translation Exception. But since
we don't do real addresses...

Artyom

-- 
Regards,
Artyom Tarasenko

SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu

Reply via email to