[arch-general] host and win7 guest files sharing

Arno Gaboury arnaud.gaboury at gmail.com
Thu Oct 11 03:16:50 EDT 2012


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).

I am supposed to find available mount tags in
/sys/bus/virtio/drivers/9pnet_virtio/virtio<n>/mount_tag files.

But I don't have /virtio<n>

Is there anything I can do to solve this issue?

TY for help


More information about the arch-general mailing list