gokvm icon indicating copy to clipboard operation
gokvm copied to clipboard

Need vhost / vsock support

Open rminnich opened this issue 3 years ago • 8 comments

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

rminnich avatar Aug 14 '22 15:08 rminnich

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.

rminnich avatar Aug 14 '22 15:08 rminnich

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

bobuhiro11 avatar Aug 16 '22 01:08 bobuhiro11

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.

shehackedyou avatar Feb 23 '24 21:02 shehackedyou

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.

bobuhiro11 avatar Mar 05 '24 15:03 bobuhiro11