The VM manager will not share a host folder into a guest — it says it cannot find the daemon that does it
I want to share a directory from my host into a virtual machine using the shared-filesystem option in the VM manager, rather than going over the network.
When I add the share and start the machine, it fails with an error saying the required daemon could not be found. The option is right there in the interface, so the feature clearly exists.
I have installed the obvious package and it did not change anything, so I suspect it is looking somewhere specific.
What is this component and how do I make the stack aware of it?
@vm_host_vera · 2d ago
The component is a helper daemon that runs on the host, one instance per share, and serves the directory to the guest over a virtual device. The graphical manager does not launch it directly — it asks the virtualisation daemon to, and that daemon looks for the binary at a path recorded in its configuration. So there are two ways to be in your situation: the binary is genuinely missing, or it is installed somewhere other than where the daemon expects.
Given you have installed a package already, the second is more likely, and it happens for a specific reason: the daemon was rewritten and moved between packages. The original implementation shipped with the emulator package. The current one is a standalone project and distributions package it separately, frequently under a different name, and occasionally install it to a different directory. So a system upgraded across that transition can end up with a configuration pointing at the old location and a binary at the new one.
Work through it like this:
Two things on the guest side, because getting the host right only gets you half way:
One design note worth having before you invest in this: this mechanism needs shared memory backing for the guest, which the manager usually configures for you but which conflicts with some memory settings — notably ballooning and certain huge-page configurations. If the machine refuses to start with a memory-related error after you add the share, that is what happened, and the fix is in the memory configuration rather than the share.
If you only need occasional file access and not performance, a plain network share is far less machinery and always works. This is worth the setup when you are sharing a large directory that the guest reads heavily.
Reply
Report