virtiofsd is part of app-emulation/libvirt. It is a daemon for sharing directory trees on the host with guest VM using Virtiofs (https://virtio-fs.gitlab.io/). The development on the daemon is largely shifted to a Rust based implementation (https://gitlab.com/virtio-fs/virtiofsd), so it would be great if we could package this version for Gentoo. Here is an example where I expose the local Portage repos database with a Gentoo guest running under libvirt/virt-manager: <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs' queue='1024'/> <binary path='/opt/virtiofsd/virtiofsd' xattr='on'/> <source dir='/var/db/repos'/> <target dir='repos'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> </filesystem>
(In reply to Forza from comment #0) > virtiofsd is part of app-emulation/libvirt. It is a daemon for sharing Just a small correction, virtiofsd used to be part of app-emulation/qemu project, when it was written in C. Then, they started to RIIR, in a brand new repo under adjusted name (virtiofsd-rs). And just recently, the C implementation was removed: https://gitlab.com/qemu-project/qemu/-/commit/a6bfdaed4a735a2cf59f265e6955fe2adcc99637 (and a couple of commits before it) and virtiofsd-rs lost the -rs suffix. Having said all of this, I believe we want to keep the package in app-emulation/ group, e.g. app-emulation/virtiofsd.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a4437b03fa847f421a30a19e67c39270958d309 commit 1a4437b03fa847f421a30a19e67c39270958d309 Author: Michal Privoznik <michal.privoznik@gmail.com> AuthorDate: 2023-02-28 12:41:02 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2023-04-17 15:04:24 +0000 app-emulation/virtiofsd: Add live ebuild This is new package. virtiofsd allows sharing files between virtual machines and host. app-emulation/qemu used to ship a C implementation, but it was dropped recently [1] in favor of Rust implementation. Package the latter then. The list of crates was generated by 'cargo ebuild' helper. 1: https://gitlab.com/qemu-project/qemu/-/commit/0aaf44776e00d9008806a4731a03271f039515a1 Closes: https://bugs.gentoo.org/show_bug.cgi?id=897892 Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org> app-emulation/virtiofsd/metadata.xml | 15 +++ app-emulation/virtiofsd/virtiofsd-9999.ebuild | 126 ++++++++++++++++++++++++++ 2 files changed, 141 insertions(+)