Is it possible to run a Raspberry Pi in a VM on x86? It would be slow, since it's a different ISA, but probably fast enough. Has anyone tried this?
The only usecase I’ve ever really encountered is building armhf Docker images for Pi use, but even that can be done relatively easily now on x86 machines with qemu without emulating an entire ARM machine.
I’d argue a more useful thing for many Pi users would be a decent test library for stubbing GPIO calls, would make writing code that interacts with the GPIO on non-Pi machines much easier. This should be relatively simple to create, although I’ve yet to find a good one.