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

Need vhost / vsock support #99

Open rminnich opened 2 years ago

rminnich commented 2 years ago

In some environments, the only available network is vhost / vsock. It would be wonderful to have this in gokvm.

rminnich commented 2 years ago

https://github.com/qemu/qemu/blob/master/net/vhost-user.c may be a useful place to start understanding what a vmm needs to do.

bobuhiro11 commented 2 years ago

Thanks for sharing the material. I would like to read it along with following documents: https://www.qemu.org/docs/master/interop/vhost-user.html https://access.redhat.com/solutions/3394851

shehackedyou commented 7 months ago

Ideally its best not to use it, but the purego module originally written for the Ebiten 2d game engine will enable you to call in *.so without cgo. It would be a temporary fix.

You are doing an outstanding job; I actually had started working on this but due to life events could not finish it so Im very excited to see this and find out ways I can assist.

bobuhiro11 commented 7 months ago

Thanks for the comment. And sorry for the late reply. I'm not familiar with ebiten, so if you have any doc on how to get *.so and how to integrate it, that would help us understand it a bit better.