zlacker

[return to "MicroVM by QEMU"]
1. solark+6b1[view] [source] 2023-07-11 09:36:11
>>kbumsi+(OP)
It's a very cool thing and through the magic of virtiofs I'm (almost) at a point at which I have a script that I can point at a directory with a Linux file system and boot it in a microVM in under a second.

It required quite a bit of trial and error because the components aren't very well documented and don't seem to be made for each other. I meant to publish something about it but never got around to it.

◧◩
2. kyoji+0N1[view] [source] 2023-07-11 13:41:03
>>solark+6b1
This sounds interesting, would you be willing to share what you have so far?
◧◩◪
3. solark+jz2[view] [source] 2023-07-11 16:59:21
>>kyoji+0N1
I guess this is better than nothing: https://gist.github.com/solarkraft/c22b2742741a3dbc07a908266...

It'll likely be a lot of work to get going, but it might contain some valuable hints that I had to search for through mailing lists and reading the QEMU source. I remember needing a semi-custom kernel (maybe) and (I think) the rust version of virtiofsd.

[go to top]