You need to sign in or sign up before continuing.
Expose QEMU's 9pfs's fmode/dmode options via domain XML
QEMU added the fmode
and dmode
flags to the fsdev/virtfs options in v2.10.0. Currently when using "mapped" as the "accessmode" for a "filesystem", all the files and directories created on the host have permissions 600 and 700, respectively. This is extremely inconvenient as the permissions are obviously very restrictive.
It would be useful to expose these two flags via the domain's XML so they can be easily modified. It appears libvirt is already semi-aware of these flags as they appear in the tests.