[Pkg-libvirt-maintainers] Bug#805624: Bug#805624: libvirt-bin: document how to access host file system

Guido Günther agx at sigxcpu.org
Fri Nov 20 20:51:01 UTC 2015


Hi Ritesh,
Thanks for the patch! First off wouldn't we be better off improving the
upstream docs?  What didn't you like about them?

> 77a78,91
> > Mapping Host File System Directories
> > ====================================
> > 
> > You can map a Host file system directory to the guest. This can be achieved
> > using the 9p file system interface in the Guest OS. If your Guest OS has
> > support for 9p file system (Linux already has support for it), you can enable
> > a share (on the host) and mount it on the guest.
> > 
> > For example, create a share on the host named "share"
> > On the Guest VM, add something like the following in /etc/fstab:
> > 
> > share	/mnt/share	9p	trans=virtio,rw,_netdev	0	0

If we do this on the Debian side we should explain the whole thing, that
is the libvirt XML _and_ the client side. What do you think? A bit like

    http://wiki.qemu.org/Documentation/9psetup

but much shorter. We also need to mention that this is a QEMU/KVM thing.
Cheers,
 -- Guido



More information about the Pkg-libvirt-maintainers mailing list