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.
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.