lima-vm / lima

Linux virtual machines, with a focus on running containers
https://lima-vm.io/
Apache License 2.0
14.95k stars 581 forks source link

Support libkrun (mostly for Virtio-GPU Venus), via krunkit #2277

Open AkihiroSuda opened 4 months ago

AkihiroSuda commented 4 months ago

libkrun seems to have merged the PR for supporting Virtio-GPU Venus (https://docs.mesa3d.org/drivers/venus.html)

QEMU still hasn't merged the patches for supporting Venus: https://patchew.org/Xen/20231219075320.165227-1-ray.huang@amd.com/

AkihiroSuda commented 4 months ago

lima should probably use https://github.com/containers/krunkit for implementing the libkrun driver. Not sure if it should be a built-in driver, or we have to implement the plug-in system.

balajiv113 commented 4 months ago

We can explore and finalise the approach for plug-in model. As i already see several experimental PR's for supporting different drivers.

This will help us in providing different options based on performance and usecases.