mmu_translate is supposed to return an error code for page faults; it is
not able to handle other exceptions. The #GP case for noncanonical
virtual addresses is not handled correctly, and incorrectly raised as
a page fault with error code 1. Since it cannot happen for nested
page tables, move it directly to handle_mmu_fault, even before the
invocation of mmu_translate.
Fixes: #676
Fixes:
|
||
---|---|---|
.. | ||
bpt_helper.c | ||
excp_helper.c | ||
fpu_helper.c | ||
meson.build | ||
misc_helper.c | ||
seg_helper.c | ||
smm_helper.c | ||
svm_helper.c | ||
tcg-cpu.c |