News for hackers. Stuff that matters.
Re:macOS 11 Virtualization Framework to Run Linux in a VM by fgdfgddfg on Wednesday July 22, 2020 @09:53PM (#23923431)
They already said they were using the mac mini with A12Z for the whole presentation demo
Re:macOS 11 Virtualization Framework to Run Linux in a VM by lstamour on Wednesday July 22, 2020 @10:16PM (#23923549)
They also mentioned pre-release hardware in the “undisclosed location” — if I recall correctly it was before they did a demo of virtualization.

Well, after Googling, I can’t find the exact quote that referenced new hardware in live blogs, but it’s telling that just before they did a demo of virtualization, Maya and so on, they said, “All of the Big Sur features demonstrated earlier were being run on the development platform” according to Anandtech — meaning the earlier Big Sur demo was on the A12Z but the next part would be possibly newer hardware.

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.
Re:macOS 11 Virtualization Framework to Run Linux in a VM by felipemesquita on Wednesday July 22, 2020 @10:20PM (#23923570)
They said a Mac with Apple silicon, not necessarily the developer transition kit. If they were running the demos on the dkt they would probably have shown the device and said so explicitly.
Re:macOS 11 Virtualization Framework to Run Linux in a VM by saagarjha on Wednesday July 22, 2020 @10:02PM (#23923482)
Where?
Re:macOS 11 Virtualization Framework to Run Linux in a VM by fgdfgddfg on Wednesday July 22, 2020 @10:14PM (#23923539)
In the presentation itself, it was towards the end
Re:macOS 11 Virtualization Framework to Run Linux in a VM by diroussel on Thursday July 23, 2020 @08:38AM (#23926667)
They said the demos were running on apple silicon. And they said the DTK runs a A12Z. They never said the demos ran on the DTK or on an A12Z.