On 06/07/2011 05:38 AM, Matthias Bolte wrote: > Shared folders are handled as filesystems and can also be hotplugged. > --- > > Currently this just maps shared folder to a filesystem element with type > mount. The filesystem element has an accessmode attribute that is not > useful for VirtualBox. Als the target element only has a dir attribute, > but VirtualBox shares doen't support that, you can only give them a name. > > <filesystem type='mount' accessmode='passthrough'> > <source dir='/tmp'/> > <target dir='foobar'/> > <readonly/> > </filesystem> > > I wonder if we should add a shared folder type like this: > > <filesystem type='sharedfolder'> > <source dir='/tmp'/> > <target name='foobar'/> > <readonly/> > </filesystem> > > Or is this to specific to VirtualBox? This sounds kind of like the plan9 file system patch; commit a5c646a, so type='mount' sounds reasonable to me. > > VirtualBox 4.0 added the automount option that automatically mounts a > shared folder in the guest. On Windows it is mounted to a free drive > letter on Linux it's mounted to /media/<prefix>_<shared-folder-name>. > The <prefix> is a global configuration option in VirtualBox. I wonder > if and how to expose that in libvirt. I'm not sure I have any better ideas, but I'm happy saving that question for a subsequent patch. ACK. -- Eric Blake eblake@xxxxxxxxxx +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list