3 ms·
When I went on my quest to run FreeBSD on my M1, I was originally looking at tools like the one you link. As far as I could tell, the Virtualization framework
by codetrotter 6y ago
When I went on my quest to run FreeBSD on my M1, I was originally looking at tools like the one you link.
As far as I could tell, the Virtualization framework is Linux specific(?)
https://developer.apple.com/documentation/virtualization https://developer.apple.com/documentation/virtualization
And in the guide in the OP, we are using some patches that someone wrote so that QEMU uses the Hypervisor framework.
https://developer.apple.com/documentation/hypervisor https://developer.apple.com/documentation/hypervisor
And from what I understand but please correct me if I am wrong, the Virtualization framework is actually a layer on top of the Hypervisor framework. So if I am correct in my understanding the way that the QEMU patches do it should in theory be comparable in performance to the way that the Virtualization framework does it.
I would like to do some benchmarking of Linux on the Virtualization framework versus Linux on QEMU to see if there is a difference. However, good benchmarking is no easy feat. So ideally someone else who is really good at benchmarking Linux would do this and write about it.
- my123 6y agoYes, Virtualization.framework's XPC service (because VM is out-of-process there) is implemented on top of Hypervisor.framework.