
On Wed, Mar 21, 2012 at 10:32:08AM +0200, Cameron Smith wrote:
Hi, I have the following setup: Host: Ubuntu 10.04 Guest: Windows 2008 R2 Kernel: 2.6.32-40-generic virt-inst: 0.500.1-2ubuntu6.2 qemu-kvm: 0.12.3+noroms-0ubuntu9.18
All is working, however I would now like to share a given directory on the host with the guest. Using the "virsh edit" command I have prepared the following XML configuration snippet: <filesystem type='mount'> <source dir='/home/cameron/zip/hla'/> <target dir='/mnt/hla'/> </filesystem>
My problem is the "target" element - what value should I use in the "dir" attribute, given that Windows drive paths do not follow Unix format (e.g. "F:\" versus "/mnt/hla").
For virtio-9p the target is not actually a directory path, but a "mount tag". The guest OS itself is responsible for deciding where to mount it. This is all academic for you though, since AFAIK, there is no virtio-9p driver available for Windows. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|