[Nix-dev] Should we drop 9P?

Volth volth at volth.com
Mon Mar 20 23:27:53 CET 2017


9P is used by NixOS to share host's nix store with Qemu virtual
machines. Such technique is used in the build process, in the
test-driver, so to say in the critical places.
Recently few bugs in 9P were found (#23957 #23020 #22695) which
reveals that 9P code is not very mature and perhaps NixOS is the first
team which uses 9P heavily and relies on it in production.

Shouldn't we replace 9P with something battle-tested like NFS or Samba?
It may also improve the performance because 9P server works in qemu
process, in user mode and there are as many servers as virtual
machines running.


More information about the nix-dev mailing list