5 ms·
> The main use case for qemu-user is.. running programs for one CPU architecture on another.. most people don’t realize that you can run a qemu-user emulator wh
by akkartik 5y ago
> The main use case for qemu-user is.. running programs for one CPU architecture on another.. most people don’t realize that you can run a qemu-user emulator which targets the same architecture as the host.
I believe there is one important caveat here: the OS has to stay the same.
https://superuser.com/questions/1355064/qemu-user-mode-emulation https://superuser.com/questions/1355064/qemu-user-mode-emula...
- AnIdiotOnTheNet 5y agoTrue, but still neat. Frankly I think this kind of functionality should be built in to OSs. Why shouldn't I expect to be able to run code written for the same OS on two different architectures without recompilation?
- remram 5y agoThe kernel supports that via the binfmt_misc feature. On Debian you just have to install the packages: https://wiki.debian.org/QemuUserEmulation https://wiki.debian.org/QemuUserEmulation