On Thu, Mar 26, 2015 at 01:37:06AM +0000, Boylan, Ross
wrote:> I have a directory on the host that I would like to be visible in the
guest/domain. Using virt-manager I selected the directory, resulting in this
configuration:
> <filesystem type='mount'
accessmode='passthrough'>
> <source dir='/mnt/SASInstaller'/>
> <target dir='/mnt/SASInstaller'/>
> <address type='pci' domain='0x0000'
bus='0x00' slot='0x08' function='0x0'/>
> </filesystem>
> I created the /mnt/SASInstaller manually in the VM.
>
> Nothing shows up. What am I missing? Do I need to run something in the VM
(running Linux) to make it work?
You need to mount it:
mount -t 9p /mnt/SASInstaller /mnt/SASInstaller
The target 'dir' is not really a directory, it's just a mount tag.
See:
http://wiki.qemu.org/Documentation/9psetup#Starting_the_Guest_using_libvirt
Jan