Closed bbjubjub2494 closed 9 months ago
Minor clarification: the tag needs a self-closing /
so it's <binary path='/run/current-system/sw/bin/virtiofsd' xattr='on'/>
, and it goes in the filesystem section.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/libvirt-session-mode-and-virtiofs/27857/4
Describe the bug
libvirt fails to start KVM domains when a virtiofs filesystem is present.
Steps To Reproduce
Steps to reproduce the behavior:
virt-install -n scratch --connect qemu:///system --os-variant nixos-unstable --memory 1536 --memorybacking=access.mode=shared --disk none --import --filesystem /nix/store/,nix-store,driver.type=virtiofs
ERROR operation failed: Unable to find a satisfying virtiofsd
Expected behavior
It should "just work" for good UX
Additional context
This probably requires patching libvirt. I don't understand the codebase enough to do so.
I tried upgrading libvirt to 8.5.0, it doesn't seem to change anything.
There is a workaround:
Originally posted by @kvtb in https://github.com/NixOS/nixpkgs/issues/113172#issuecomment-1114183820
Notify maintainers
@fpletz @globin @lovesegfault @Kranzes
Metadata