▲ | Hypervisor in 1k Lines(1000hv.seiya.me) | ||||||||||||||||||||||||||||
126 points by lioeters 4 days ago | 17 comments | |||||||||||||||||||||||||||||
▲ | arghwhat 4 days ago | parent | next [-] | ||||||||||||||||||||||||||||
This is a cool intro to how virtualization instructions work, but people need to understand that it is not revolutionary simplicity or anything like that. It's just a a cool tech demo lacking all the important bits of a modern hypervisor required to make it practical, like paravirtualized drivers for example. Same when someone claims to have written an OS in 1000 lines and all it does is get you to real mode with VGA graphics and an interactive (but useless) prompt. (Note that you can benefit from virtualization technology in specialized scenarios outside common hypervisors, but that's not really what's being demoed here.) | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
▲ | nighthawk454 4 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
Also discussed at: | |||||||||||||||||||||||||||||
▲ | userbinator 4 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
See also https://ionescu007.github.io/SimpleVisor/ in around 500 lines of C. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
▲ | chubot 4 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
Hm I would like to see this in C rather than Rust. And I wonder if you can run the 1000 line OS in C along with the 1000 line hypervisor It would be nice to see a demo! | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
▲ | giveita 4 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
Why does it need qemu? Isn't it a qemu? | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
▲ | curtisszmania 4 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
[dead] | |||||||||||||||||||||||||||||
▲ | TacticalCoder 4 days ago | parent | prev [-] | ||||||||||||||||||||||||||||
[dead] |