aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor.cc
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2026-02-17 08:57:42 +0100
committerAlexander Potapenko <glider@google.com>2026-02-17 09:13:39 +0000
commit4db8fa928f6610a9c9f808270ed4f6cbdfbded26 (patch)
tree6eb827bd7ad295ec27320d88cee1cbc8a5a5b3ce /executor/executor.cc
parent7465ed05d995335737d4f157ddb344444a102419 (diff)
executor: introduce gpa_to_hva() for x86 SYZOS
L1 guest memory is non-contiguous, but previously host setup assumed the opposite, using L1 guest addresses as offsets in the host memory block. This led to subtle bugs in IRQ handling (and possibly elsewhere). Fix this by using gpa_to_hva() to translate guest physical addresses to host virtual addresses. This function is cold, so we can afford O(SYZOS_REGION_COUNT) complexity.
Diffstat (limited to 'executor/executor.cc')
0 files changed, 0 insertions, 0 deletions