HNHacker News
TopNewBestAskShowJobs

fqiao

27 karma · joined April 4, 2026

submissionscomments
fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
So we originally just wanted the vm to be light-weight and can start fast, so we removed docker. @binsquare has a change later to add docker back.
fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
Let us know your thoughts! Thanks
fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
yah, i guess everybody share the experience of "i messed up with my dev env" right? We want this "machine" to be shippable, meaning that once it is configured correctly, it can be shared to anyone and use right away.
fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
No worry at all! Thanks!
fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
Thanks so much! Feel free to try it out if you have a chance, and let's us know your thoughts. Thanks!
fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
Hey thanks so much for the feedback. Yah try it and let us know. We have a discord if you want to join, but either github or discord feel free to report any issues you find to us.

Cheers!

fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
Thanks so much for the feedbacks. Yes these are valid concerns around libkrun security, We are planning and developing features around them actually, and hopefully that could alleviate the conerns.

for virtio-fs, yes the risk of exposing the host fs struture exists, and we plan to:

1. creating staging directory for each vm and bind-mount the host dir onto them

2. having private mount namespaces for vms

they are both tracked in our github issues:

https://github.com/smol-machines/smolvm/issues/152 https://github.com/smol-machines/smolvm/issues/151

2 may need much more efforts than we imagine, but we will ensure to call this out in our doc.

For the concern around TSI, we are developing virtio-net in-parallel, it is also tracked in our github and will be released soon: https://github.com/smol-machines/smolvm/issues/91

Would like to collect mroe suggestions on how to make this safer. Thanks!

fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
I came across SmolBSD before too. Cool project!
fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
I see. so right now smolvm can be stopped, and then "packed" (think of it as compressed), and restart on a different host. files in the disks are preserved, but memory snapshotting is still hard tbh
fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
we will evaluate. I created this issue to track this: https://github.com/smol-machines/smolvm/issues/150

Really appreciate the feedback!

fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
Cannot thank you more for this! Lets' work together to see how we can make this easier for cave!
fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
Really appreciate it! Would love to work together to make this easier to use.
fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
Really appreciate the suggestion! By "live migration", do you mean keeping the existing files and migrate them elsewhere with the vm?

Thanks

fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
Hey, thanks so much! yah we will definitely add windows support later. We are exploring how to get this work with WSL and will release it asap. Stay tuned and thanks!
fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
Will do. Thanks for the suggestion!
fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
this is me: https://github.com/phooq

@binsquare is this one: https://github.com/BinSquare

fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
Yes. files on the disks are kept across stop and restart. We also have a pack command to compress the machine as a single file so that it can shipped and rehydrated elsewhere
fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
Thanks so much
fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
Yes, having a light-weight solution for local devices as well is one primary goal of the design. Another one is to make it easy for hosting, self or managed
fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
@binsquare basically brute-force trimmed down unnecessary linux kernel modules, tried to get the vm started with just bare minimum. There are more rooms for improvement for sure. We will keep trying!
fqiao··on Show HN: Smol machines – subsecond coldstart, portable virtual machines
Give it a try folks. Would really love to hear all the feedbacks!

Cheers!