Re:macOS 11 Virtualization Framework to Run Linux in a VM
by lsllc on Wednesday July 22, 2020 @10:23PM
(#23923589)
It appeared to be Ubuntu for ARM64. If it wasn't virtualized, could it have been running under QEMU? Or maybe some sort of WSL type shim into the Darwin kernel?
[ Parent
| on HN ]
Re:macOS 11 Virtualization Framework to Run Linux in a VM
by intpx on Thursday July 23, 2020 @07:26AM
(#23926167)
pardon my ignorance, but how is QEMU not virtualization? There have been MacOS builds of KVM/QEMU for a couple of years now and I distinctly remember seeing that it had either been added or was being added to the base OS (google-fu is failing me because of so many results about the reverse-- running MacOS under KVM/QEMU).
Re:macOS 11 Virtualization Framework to Run Linux in a VM
by moon2 on Thursday July 23, 2020 @03:40PM
(#23931413)
QEMU can either be used for virtualization (i.e. running x86 Linux on your x86 Mac) or emulation (i.e. running PPC Mac on your x86 Mac).
Re:macOS 11 Virtualization Framework to Run Linux in a VM
by jki275 on Thursday July 23, 2020 @08:30AM
(#23926587)
QEMU is an emulator, not virtualization. It allows the user to run an OS designed for one type of CPU on a host system of a different type. i.e running Raspbian (ARM Linux) through QEMU on an X64 Linux Host running on an X64 machine.
Virtualization, by contrast, allows the user to run a guest OS designed for the same architecture as the physical hardware. i.e running x64 Linux guest on an X64 host that runs Windows as a host OS.
Re:macOS 11 Virtualization Framework to Run Linux in a VM
by tinus_hn on Thursday July 23, 2020 @11:38AM
(#23928464)
QEMU can do both the complete emulation you describe and accelerated virtualization similar to that offered by VMWare.
Re:macOS 11 Virtualization Framework to Run Linux in a VM
by dekhn on Thursday July 23, 2020 @10:37AM
(#23927785)
But to add to the complexity, many virtualization systems use QEMU as a support library to achieve stuff.
Re:macOS 11 Virtualization Framework to Run Linux in a VM
by waon on Thursday July 23, 2020 @11:21AM
(#23928274)
That's hardly the point. Many virtualization systems do indeed use QEMU for device emulation, but they don't use it to emulate the entire CPU functionality itself. A key point about virtualization is that most code run native while privileged instructions are trapped and handled by the hypervisor, allowing multiple guest OSes to coexist. This gives guest OSes the illusion that it's in sole control of the hardware.