Re:Running Intel Binaries in Linux VMs with Rosetta
by zamalek on Monday June 06, 2022 @06:40PM
(#31647346)
It's QEMU emulation. It's slow. It also segfaults a lot. I am able to run a select few containers on it, but I needed to sort out native arm64 for the vast majority.
Re:Running Intel Binaries in Linux VMs with Rosetta
by zekica on Tuesday June 07, 2022 @02:43AM
(#31650638)
The main reason for segfaults is that not all syscalls (syscalls on linux are different per architecture - not even 32bit and 64bit x86 use the same) are implemented in a 100% compatible way.
Re:Running Intel Binaries in Linux VMs with Rosetta
by zekica on Tuesday June 07, 2022 @02:44AM
(#31650648)
Yes, this is exactly what Apple has done - created Rosetta that handles Linux ELF binaries, translates code and syscalls.
Re:Running Intel Binaries in Linux VMs with Rosetta
by mxey on Wednesday June 08, 2022 @05:35AM
(#31665089)
Yes, Docker on macOS can switch from qemu-user to this. It uses the same binfmt mechanism, so it should be mostly a drop-in replacement.
This is only available in combination with Virtualization.framework, but Docker is already migrating from Hypervisor.framework to Virtualization.framework.
Potentially this could be used as an alternative?