3 ms·
You sort of can, but drivers have to be in sync with the (emulated) devices they're controlling. The fastest way to go about this would be to snapshot an alread
by crest 3y ago
You sort of can, but drivers have to be in sync with the (emulated) devices they're controlling. The fastest way to go about this would be to snapshot an already booted virtual system. It could be as simple as instructing the restored snapshot to reseed its RNG and (re-)attach to the network, but you'll probably in into a few more assumption broken by cloning a multiple VMs from the same snapshot. If pre-booting and suspending/resuming each individual VM is good enough it could look similar to a pre-forking HTTP server like old Apache versions.
- Shorel 3y agoYeah, for real hardware it is important to be flexible. But these virtual machines can all be exactly the same, except for the network MAC and IP. It could even be possible to compile executables that bypass the need for a kernel, just have some libraries with the required stuff, and boot to the program, MS-DOS style.
- Terretta 3y ago> could even be possible to compile executables that bypass the need for a kernel, just have some libraries with the required stuff, and boot to the program Or consider: https://github.com/uniqernel/awesome-unikernels https://github.com/uniqernel/awesome-unikernels