We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f432996 commit 8dffe13Copy full SHA for 8dffe13
lib/tinykvm/vcpu_run.cpp
@@ -223,6 +223,10 @@ long vCPU::run_once()
223
auto& memory = machine().main_memory();
224
if (UNLIKELY(regs.rip >= memory.physbase + INTR_ASM_ADDR+0x1000)) {
225
Machine::machine_exception("Security violation", intr);
226
+ } else if (UNLIKELY(addr < 0x2000)) {
227
+ /* Kernel space page fault */
228
+ this->handle_exception(intr);
229
+ Machine::machine_exception("Kernel or zero page fault", intr);
230
}
231
232
machine().memory.get_writable_page(addr, PDE64_USER | PDE64_RW, false);
0 commit comments