News for hackers. Stuff that matters.
Re:Apple Virtualization Framework by john_alan on Sunday June 04, 2023 @05:22PM (#36189713)
Cool! What’s the difference between Virtualisation.framework and Hypervisor.framework?
Re:Apple Virtualization Framework by sweetjuly on Sunday June 04, 2023 @05:52PM (#36189943)
Hypervisor.framework provides only the bare necessities: the ability to manage vCPUs, stage 2 page tables, and handle hypervisor exits. It does not do any sort of virtualization except for the CPU itself (which, on ARMv8, is very little due to hardware providing good primitives already). Virtualization.framework is full operating system virtualization suitable for running modern Linux and macOS guests.
Re:Apple Virtualization Framework by vbezhenar on Sunday June 04, 2023 @06:07PM (#36190055)
AFAIK Virtualization.framework is built on top of Hypervisor.framework. Former is high-level one allowing you to create Linux VM with few hundreds lines of code. Latter allows you to run your whatever you want with few tens of thousands lines of code, but absolute freedom when it comes to drivers and every low level detail.
Re:Apple Virtualization Framework by john_alan on Monday June 05, 2023 @03:01AM (#36193304)
Very cool thanks!