News for hackers. Stuff that matters.
Re:macOS 11 Virtualization Framework to Run Linux in a VM by ridiculous_fish on Thursday July 23, 2020 @12:56AM (#23924295)
Parallels clearly has something significant under wraps: https://www.parallels.com/blogs/apple-silicon-wwdc/

My guess: Parallels on Apple Silicon will support virtualizing AArch64 VMs, and also x64 VMs through Rosetta 2. Support for AArch64 alone doesn't seem interesting enough to keep under wraps, and Apple did commit to supporting x64 JITs, so x64 VMs seems like a natural extension.

Re:macOS 11 Virtualization Framework to Run Linux in a VM by 4ad on Thursday July 23, 2020 @02:11AM (#23924624)
We'll see, but I doubt it.

A user-level emulator is a completely different beast performance wise than a full system emulator. With a user-level emulator the kernel, and possibly even the shared libraries are native code, and the code that needs to be emulated is relatively easy to translate from one architecture to another.

For a full system emulator not only you need to emulate the kernel also, but all the system-levels instructions have to be emulated as well (unlike user space instruction that can be JITed).

Just compare the performance of qemu-system-aarch64 with qemu-aarch64 running on amd64, and you will see a MASSIVE difference in performance. It's very likely rosetta will be more optimised than qemu, but still there is a fundamental problem here.

I'm sure qemu-system-x86_64 will run on aarch64 macs, but I doubt Apple/Parallels/VMware will touch this space.

Re:macOS 11 Virtualization Framework to Run Linux in a VM by ridiculous_fish on Thursday July 23, 2020 @04:39AM (#23925383)
Fair points, and on reflection you are probably correct.

But Apple has a history of weird but successful systems that nobody else tried, like 64 bit user space with a 32 bit kernel, or mixed-endian processes sharing memory. And there's pointed coyness around "Apple Silicon" and Parallels keeping mum. So I want to believe.

Re:macOS 11 Virtualization Framework to Run Linux in a VM by jki275 on Thursday July 23, 2020 @08:33AM (#23926617)
I need to believe because it makes a massive difference for me as an embedded developer. I can't use Macs anymore if I can't run multiple x64/x86 Linux VMs on them.
Re:macOS 11 Virtualization Framework to Run Linux in a VM by khrbtxyz on Thursday July 23, 2020 @03:43PM (#23931444)
When did Apple do the mixed-endian processes? Was this with PowerPC Macs?
Re:macOS 11 Virtualization Framework to Run Linux in a VM by lsllc on Thursday July 23, 2020 @01:05PM (#23929505)
It would be interesting to see a blend of Rosetta2 for translating and running user-space x64 code and a WSL-style kernel "shim" to provide direct access to the native aarch64 Darwin kernel.