One object, one machine
Each machine is a Durable Object with the emulator inside. 64 MB of guest memory stays in RAM; the rest is paged from the object's SQLite database.
Pick a system. It boots on Cloudflare and runs in this tab. Close the tab and it keeps its state. No containers, no VMs: the CPU is emulated in WebAssembly.
No system matches.
Each machine is a Durable Object with the emulator inside. 64 MB of guest memory stays in RAM; the rest is paged from the object's SQLite database.
Memory, devices and disks are saved every few seconds. Close the tab, come back later, and the machine resumes where it stopped.
Hot guest code is compiled to WebAssembly. Workers cannot compile at run time, so compiled code is stored and loaded with the emulator. Machines of the same kind share it.