项目作者: ricarkol

项目描述 :
Tiny toy KVM-based-VMM written in OCaml and capable of starting Linux (bzimage + serial console).
高级语言: OCaml
项目地址: git://github.com/ricarkol/ocaml-toy-vmm.git
创建时间: 2020-08-16T23:46:52Z
项目社区:https://github.com/ricarkol/ocaml-toy-vmm

开源协议:

下载


This is a tiny toy KVM-based-VMM written in OCaml using Cstubs_cstructs. It’s based on kvm-host by Serge Zaitsev, and the Cstubs_cstructs example in the
ocaml-ctypes repo. It’s capable of starting a Linux bzImage and loading an initrd (or initramfs). It just emulates a very basic 8250 serial console (and just the basic features).

Note that this is very rough: errors are not handled correctly, everything is hardcoded (like memory size), it’s full of magic values without any explanation, and the code structure (like filenames) is pretty much the same as in the ocaml-ctypes example.