https://rancher.com/ logo
Title
h

hundreds-crowd-93261

08/25/2022, 6:29 PM
anyone know if there’s been any work by anyone to enable virtiofs on lima?
a

average-carpet-40645

08/26/2022, 8:10 AM
It’s more of a Qemu limitation than Lima.
However, there is an ongoing discussion on utilising macOS native virtualisation framework as an alternative to Qemu. Even if that happens, Qemu would still be the recommended default due to it being FOSS.
b

best-city-49378

08/26/2022, 4:07 PM
I think it is possible to make it work in Linux, but I am not sure if there is a working prototype for Mac yet ? So it is a Docker-only feature for now I think
Red Hat was working on it (as in: virtiofsd darwin) for Podman Desktop, but (as usual?) they were going to rewrite everything in Rust first
h

hundreds-crowd-93261

08/26/2022, 5:42 PM
yeah, i read the virtio docs for qemu and it seems like it should just be a matter of running the daemon (assuming it runs on macos at all) and running qemu with the correct options
😃 1
is that not correct and qemu would need to use the virtualization framework instead of the hypervisor framework?
i was fairly certain docker desktop was using qemu with virtiofs so I’d be surprised if you couldn’t use qemu
a

average-carpet-40645

08/26/2022, 5:44 PM
AFAIK Docker Desktop is not using Qemu directly. I think that’s only for cross architecture emulation.
b

best-accountant-68201

08/27/2022, 6:02 AM
QEMU for macOS still doesn’t support virtiofs
Discussion to use Virtualization.framework is here https://github.com/lima-vm/lima/issues/889