[libvirt-users] VirtFS accessmode

Jiri Denemark jdenemar at redhat.com
Thu Feb 27 10:01:59 UTC 2014


On Wed, Feb 26, 2014 at 09:45:53 +0000, Lanati, Matteo wrote:
> Hi all,
> 
> I'm trying to share a folder between a host and a guest using VirtFS.
> 
> The source is NAS mounted on the host and QEMU runs as unprivileged user.
> 
> The only way for me to use the folder inside the guest is to set the access mode to 'squash' but all file operations are performed by the user running QEMU. 
> If I ran QEMU as root, the passthrough mode works as expected.
>  
> Is there the possibility to configure the passthrough access also for non-root users?

There were an attempt to implement support for a proxy that would run as
a root and would allow non-privileged qemu to use passthrough access.
However, looks like the author's focus was moved into another direction
and the patches were never finished...

Jirka




More information about the libvirt-users mailing list