Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Hypervisor from Scratch (2022) (rayanfam.com)
142 points by mshockwave on Sept 14, 2023 | hide | past | favorite | 10 comments


Interesting. I remember playing with VT-x using Intel's HAXM framework [0] that installs its own Windows driver with a much nicer user-facing API, basically does what the chapters 2, 3 and 4 of the tutorial end up implementing, so you can spin up an empty, ready to go VM already in the 64-bit mode quite easily.

[0] https://github.com/intel/haxm


Is there a similar tutorial/book/course that one can follow on Linux?


The author claims that the concepts are platform-independent and that they give examples for Linux when needed. I don't know enough about the topic to know if that's sufficient.

https://rayanfam.com/topics/hypervisor-from-scratch-part-1/#...


Maybe a joke but just in case, https://www.linuxfromscratch.org/


Huh? That's to install Linux, not implement a hypervisor.


Ohhh. I thought the parent said “for Linux” but I see now it was “on Linux”.


Nice! I wonder how well it will work with IncludeOS [0]?

[0]: https://github.com/includeos/IncludeOS


As a host or VM? It would not work as a host as TA uses Windows’ driver kit api. It’s written all for windows.


Nice work!

I'd be more impressed by "Hypervisor in Scratch" though ;)


Clicked to see if anyone had made this joke yet . . . oh, well.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: