bobuhiro11 / gokvm

KVM based tiny x86 hypervisor written in pure golang, which can boot Linux
https://blog.bobuhiro11.net/tags/gokvm.html
MIT License
206 stars 21 forks source link

Add simple machine memory management. #140

Closed ChriMarMe closed 1 year ago

ChriMarMe commented 1 year ago

--This is WIP--

ChriMarMe commented 1 year ago

This is my baseline to introduce memory management for the different parts of the machine.

I don't fully understand the memory management and mapping mechanism of kvm yet, but we will get there eventually.

ChriMarMe commented 1 year ago

At the moment I have no clear understanding how this works. Documentation is scarce and a lot is try and error.

Additionally I work on AddressSpace functionality to improve access to different memory regions inside guest physical memory.

My overall goal is to get it to run firmware (coreboot and later edk2/ovmf). A long way to go I guess.

ChriMarMe commented 1 year ago

This is not stale, I'm just blocked by other stuff at the moment.

bobuhiro11 commented 1 year ago

Sure, no problem. Please proceed at your own pace 😄

ChriMarMe commented 1 year ago

I totally got lost in my train of thought here. Will close it.