Skip to content

Just some basics about KVM

Update: you can fine more info here


Hacking Notes

If you are hacking some low-level stuff that is running as a VM, pay close attention if KVM is involved. I started this note because I spent sometime twisting page_fault IDT entry, but it turns out KVM uses async_page_fault. Oh, well.

  • KVM page fault entry (arch/x86/entry/entry_64.S)
    • It is idtentry async_page_fault do_async_page_fault has_error_code=1
    • ..not idtentry page_fault do_page_fault has_error_code=1

More on Virturlization

Well. I swear I want to learn more about Virturlization..

  • Intel SDM, volume 3, Chapter 23 - Chapter 33.

Yizhou Shan
Created: May 20, 2019
Last Updated: Sep 11, 2019

Last update: December 24, 2020


Back to top