News for hackers. Stuff that matters.
Re:Apple Virtualization Framework by jasoneckert on Sunday June 04, 2023 @08:06AM (#36184967)
I've also been using the Apple Virtualization option with Linux VMs in UTM and have had zero issues whatsoever. The biggest benefit to doing so in my opinion isn't necessarily the noticeably better performance, but the RAM usage. I've noticed that Linux VMs in UTM that run using the Apple Virtualization Framework use significantly less RAM compared to otherwise because the framework provides dynamic memory allocation. This makes it very well suited to running Linux VMs on systems that have less memory (e.g., an M1 MacBook with only 8GB of RAM).

The only thing I'd like to see added to the framework is the ability for nested virtualization (which is now available in the M2 chips, but isn't built into M1 chips).

Re:Apple Virtualization Framework by moondev on Sunday June 04, 2023 @10:00AM (#36185673)
> The only thing I'd like to see added to the framework is the ability for nested virtualization (which is now available in the M2 chips, but isn't built into M1 chips).

Is there an example of this working in any context? Until then I don't see how it can be considered available.

EDIT - Confirmed below it does work in Linux on metal - Props to the Asahi team!

Re:Apple Virtualization Framework by oneplane on Sunday June 04, 2023 @10:21AM (#36185804)
Yep, works in M2 in asahi linux, but I'm not sure Apple has it enabled in their framework.
Re:Apple Virtualization Framework by moondev on Sunday June 04, 2023 @10:29AM (#36185869)
Thanks for the confirmation, pretty awesome the Asahi team is delivering features before Apple can on their own hardware!
Re:Apple Virtualization Framework by WesolyKubeczek on Sunday June 04, 2023 @12:59PM (#36187223)
Somehow I cannot get a Fedora 38 (or for that matter, Rocky/Alma 9) installer to boot with this option, it all works fine on QEMU, though.

There could be knobs to twist but UTM doesn’t expose any, so…

Re:Apple Virtualization Framework by john_alan on Sunday June 04, 2023 @05:26PM (#36189745)
Isn’t it really hard to use though? Like you need decomposed Linux bits.