utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
26.5k stars 1.33k forks source link

Using libkrun-efi as open source alternative to Apple's Virtualization framework #6703

Open mgrossu opened 1 week ago

mgrossu commented 1 week ago

The new EFI flavor turns libkrun into an open-source alternative of Virtualization.framework on macOS. It brings some excellent additions, such as a Vulkan-capable virtio-gpu, which allows you to offload compute workloads to the host's GPU, and an extended virtio-fs implementation. Podman 5.2 is taking advantage of this: https://linuxiac.com/podman-5-2-enhances-macos-vms-with-gpu-support/. Would be nice to add this VMM backend in addition to qemu and Virtualization.framework.

osy commented 22 hours ago

libkrun uses Hypervisor.framework the same as QEMU. Adding a new backend is tremendous effort. Why is it not possible to port the vulkan-capable virtio-gpu to QEMU instead? Is there any documentation on how they are doing it?