mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-25 19:21:39 +00:00
Until now, if we examined an EPT fault and the corresponding guest physical memory was not allocated, we forwarded the faulting instruction to the instruction emulator, which in turn handled the memory allocation implicitly. This lead to long instruction emulation times on certain instructions (e.g. 'rep mov' on large memory junks). Therefore, we now allocate and map the corresponding guest physical memory immediately in the EPT fault handler and directly return to the guest. fixes #2645