[virt-tools-list] sharing files between host and win7 guest
Cole Robinson
crobinso at redhat.com
Wed Oct 17 01:13:15 UTC 2012
On 10/11/2012 02:58 AM, Arno Gaboury wrote:
> Dear list,
>
> I built a win7 guest with virt-install:
>
> $virt-install --connect qemu:///system --name=merdox --ram 4000 --cpu
> host --disk path=/dev/vg0/lv_merdox,bus=virtio,sparse=false,format=raw
> --cdrom /dev/cdrom --description="merdox -vm guest on host magnolia"
> --graphics vnc --os-type=windows --os-variant=win7 --video=vga --hvm
> --accelerate --network bridge=br0 --disk
> path=/home/gabx/isofiles/virtio-win-0.1-30.iso,device=cdrom
>
> Everything is fine so far. The only point is I can't share folders
> (unless using USB key). I couldn't use these arguments : -device
> virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=hostshare, only possible
> with $qemu-kvm.
>
>
> I found some tuto explaining how to share with VM Manager: Details ->add
> filesystem . I did it, but when : # mount -t 9p -o
> trans=virtio,version=9p2000.L /hostshare /tmp/sharewin7
> it returns : mount: special device /hostshare does not exist, with this
> error in logs : 9pnet_virtio: no channels available
>
> All modules are loaded (9p,9pnet,9pnet-virtio,virtio_netvirtio).
>
> Is there anything I can do to solve this issue?
>
I don't know offhand what the problem with that mount command is. But I don't
think there are even virtio 9p drivers available for windows, so you won't be
able to use this functionality anyways to share files with your windows VM.
- Cole
More information about the virt-tools-list
mailing list