Do x86 instructions require their own encoding as well as all of their arguments to be present in memory at the same time?
问题 I am trying to figure out whether it is possible to run a Linux VM whose RAM is only backed by a single physical page. To simulate this, I modified the nested page fault handler in KVM to remove the present bit from all nested page table (NPT) entries, except the one corresponding to the currently processed page fault. While trying to start a Linux guest, I observed that assembly instructions that use memory operands, like add [rbp+0x820DDA], ebp lead to a page fault loop until I restore the