apt install binfmt-support qemu-user
update-binfmts --enable qemu-x86_64
That's it. Neither "ownership of the stack", nor "whole lot of mumbo jumbo" is required. apt install binfmt-support qemu-user
update-binfmts --enable qemu-x86_64
That's it. Neither "ownership of the stack", nor "whole lot of mumbo jumbo" is required.I'm a little surprised the maintainers haven't done so - but I haven't actually used the workflow. The implementation appears transparent; it registers a format with the kernel.
Maybe there are downsides. You hint at a very likely one - performance.
QEMU can do remarkably well with virtualization... but this, I'm not sure. I'm hopeful!
Anyway, with all that in mind... I think the point against requiring such extreme 'vertical integration' remains
If the argument against these two commands is it, then it's extremely trivial to resolve.
With latter, like with any full-system emulation, for top graphics performance, you probably want a separate video card and [pci pass-through] it to the guest VM.
[qemu-user] https://www.qemu.org/docs/master/user/main.html
[qemu-system] https://www.qemu.org/docs/master/system/index.html
[pci pass-through] https://askubuntu.com/questions/1406888/
For simpler needs (ie: mostly 2D, very minimal 3D) it's great. I use this mostly for isolated browsing environments and am very pleased.
I believe this works with both Windows and Linux guests, though drivers are more annoying where you'd expect.