7 ms·
Notably, Apple still has not released an Apple silicon chip that can do virtualization. So as far as I can tell, this framework is currently not testable on the
by saagarjha 6y ago
Notably, Apple still has not released an Apple silicon chip that can do virtualization. So as far as I can tell, this framework is currently not testable on their systems using the A12Z.
- api 6y agoAFAIK this is an ARM IP module they can just add.
- saagarjha 6y agoA14 is rumored to have this already, it's not like they don't know how to do this but more that they had no reason to do so until now.
- ytch 6y agoParallel Desktop demos running linux on Apple Silicon in WWDC, maybe they have internal developer kit based on A14, but it cannot be made public.
- AlexCoventry 6y agoWhat's the reason to do it now?
- saagarjha 6y agoThey’re shipping Macs that need it by the end of the year.
- monocasa 6y agoDevelopers are something absurd like 20% of their install base, so Docker gets a first class seat at the table from a product requirements perspective? Albeit in aarch64 mode.
- pjmlp 6y agoDevelopers != Someone using macOS as pretty Linux to deploy on Linux. Also I am yet to see any benefit with docker in Apple platforms ecosystem.
- bostonsre 6y agoWSL
- api 6y agoMacs need virtualization to run guest OSes since Macs are big in the pro and developer market. There is no current use for VMs on a phone, so they probably just left that module out in past chips.
- monocasa 6y agoIt's not, it has to be heavily integrated into the processor core. Particularly the main piece of virtualization is an added level of indirection to the page table walking hardware. There's some IOMMU stuff that can be bought off the shelf (and ARM's SMMU for this is really good actually), but I imagine Apple would build their own (or acquire it) looking at the rest of their IP blocks. Edit: Actually I'm not even sure if they could pull an SMMU in. Do we have confirmation that they're using AXI/CHI or do they have something else for their NoC protocol?
- amluto 6y ago(Disclaimer: I know much more about x86 virtualization than ARM.) Apple isn’t really in the server business, and the kinds of high performance VMs that want direct hardware access seem unlikely to run on Apple silicon in the near future. It seems to me that virtualization could work just fine without an IOMMU in this scenario. (Certain GPU workloads would be an exception.) That being said, I would expect Apple to have an IOMMU at launch for a different reason: Thunderbolt or any other external PCIe connection. Doing this without an IOMMU is a security catastrophe, in contrast to doing it with an IOMMU, which is merely an enormous attack surface that no one secured properly.
- samatman 6y agoI wouldn't count Apple out of the server business for long. After they have a couple generations of laptop silicon under their belts, there's nothing stopping them from dogfooding a real server macOS for awhile and booting up an Apple Service Cloud. No special insight into whether they actually will, but it's a natural play.
- millstone 6y agoApple is really bad at building products which their leadership doesn't want to use personally. Ping and iAd come to mind, server would be the same. Yet Apple has quite the powerful chip family. If they were to spin off a subsidiary without the consumer-focused mission...well, that's what I would do!
- bonyt 6y agoWhat were they doing with the A12Z when they demoed Linux running in a VM at WWDC, then?
- saagarjha 6y agoThey must have not been using an A12Z for that.
- fgdfgddfg 6y agoThey already said they were using the mac mini with A12Z for the whole presentation demo
- saagarjha 6y agoWhere?
- lstamour 6y agoThey 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.
- innagadadavida 6y agoIs virtualization that hard to do on ARMs? With chip talent Apple has, I’d be surprised if they don’t pull this off at least as well as Intel.
- saagarjha 6y agoNo, it’s not particularly difficult, it’s just they they didn’t have a reason to do it earlier so they just didn’t support it.
- musicale 6y ago> Notably, Apple still has not released an Apple silicon chip that can do virtualization Even if Apple's ARM chips are not classically virtualizable (and I don't know whether that is the case), that was indeed the case for the x86 (pre VT-x) when two fairly straightforward solutions were applied: binary translation of non-virtualizable instructions (VMware approach) and paravirtualization (Xen approach.) This sparked the x86 virtualization revolution even before hardware support was available from intel and AMD. Other approaches that could potentially work on a "non-virtualizable" ARM CPU include user-mode Linux, emulation, microkernels (similar to paravirtualization - recall Xnu contains mach and presumably still has the ability to outsource system calls and paging) and containers.
- vlod 6y agoRather than use Intel CPUs in laptops with an ARM touchbar, maybe they'll use ARM CPUs with Intel in the touchbar. Then virtualization will just occur in the touchbar using emojis as feedback. ;)