|
| From: | Richard Henderson |
| Subject: | Re: [Qemu-devel] [PATCH 01/29] target-sparc: don't trap on MMU-fault if MMU is disabled |
| Date: | Mon, 10 Oct 2016 16:14:42 -0500 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
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?
r~
| [Prev in Thread] | Current Thread | [Next in Thread] |