Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mgrossu opened this issue Sep 27, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@mgrossu
Copy link

mgrossu commented Sep 27, 2024

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.

@mgrossu mgrossu added the enhancement New feature or request label Sep 27, 2024
@osy
Copy link
Contributor

osy commented Oct 3, 2024

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?

@lurenJBD
Copy link

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?

Maybe this patch to make virtio-gpu to support Venus on macOS ?

https://patchew.org/Xen/20231219075320.165227-1-ray.huang@amd.com/

I kown it form here: lima-vm/lima#2277

@osy
Copy link
Contributor

osy commented Oct 28, 2024

@lurenJBD Xen and KVM are both Linux-only virtualization technologies

@lurenJBD
Copy link

@lurenJBD Xen and KVM are both Linux-only virtualization technologies

Yes, I was wrong, this link is the modification for libkrun

containers/libkrun#174

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants