[libvirt-users] Linux host / Windows guest sharing

Hi, I'm almost give up again because for a day I try to access my windows kvm guest from FC20 :) I've tried everything including virtio mapping mount -t 9p -o trans=virtio,version=9p2000.L hostshare /tmp/hostfiles where I get the following messages mount: special device hostshare does not exist --- --- to be honest clipboard sharing would be enough for me, so I googled why it is not working and I applied this: https://mytechdepot.wordpress.com/2013/02/22/enabling-clipboard-copy-paste-i... yum install spice-vdagent # chkconfig --add spice-vdagentd # service spice-vdagentd start but, the clipboard sharing isn't working.... Do you have any idea to solve any of the issues above? Thank you Vlad

The spice-vdagent should be running in the guest. Have you installed the spice guest tools in your windows guest? Download them here: http://www.spice-space.org/download.html That should get clipboard sharing working. ----- Original Message -----
From: "Laszlo Pal" <vlad@vlad.hu> To: libvirt-users@redhat.com, virt-tools-list@redhat.com Sent: Thursday, March 20, 2014 10:16:50 AM Subject: [virt-tools-list] Linux host / Windows guest sharing
Hi,
I'm almost give up again because for a day I try to access my windows kvm guest from FC20 :)
I've tried everything including virtio mapping
mount -t 9p -o trans=virtio,version=9p2000.L hostshare /tmp/hostfiles
where I get the following messages
mount: special device hostshare does not exist
--- ---
to be honest clipboard sharing would be enough for me, so I googled why it is not working and I applied this:
https://mytechdepot.wordpress.com/2013/02/22/enabling-clipboard-copy-paste-i...
yum install spice-vdagent # chkconfig --add spice-vdagentd # service spice-vdagentd start
but, the clipboard sharing isn't working....
Do you have any idea to solve any of the issues above?
Thank you Vlad
_______________________________________________ virt-tools-list mailing list virt-tools-list@redhat.com https://www.redhat.com/mailman/listinfo/virt-tools-list

On Thu, Mar 20, 2014 at 11:46:28AM -0400, Jonathon Jongsma wrote:
The spice-vdagent should be running in the guest. Have you installed the spice guest tools in your windows guest? Download them here: http://www.spice-space.org/download.html
That should get clipboard sharing working.
You also need to have your VM configured to use SPICE, and to add the needed channel, see http://people.freedesktop.org/~teuf/spice-doc/html/ch02s05.html Christophe

Thank you. The clipboard sharing working now. Do you have any idea for the mount issue? I suppose there is a way to share a specific directory between the guest and host like I did with vbox for example What exact modules needed for this function? The error message I've got this: mount -t 9p -o trans=virtio,version=9p2000.L hostshare /tmp/hostfiles mount: special device hostshare does not exist syslog: 9pnet_virtio: no channels available my modules 9pnet_rdma 12966 0 rdma_cm 42325 1 9pnet_rdma ib_core 74297 6 rdma_cm,ib_cm,ib_sa,iw_cm,9pnet_rdma,ib_mad 9pnet_virtio 17519 0 virtio_ring 19975 3 virtio_balloon,9pnet_virtio,virtio_scsi virtio 14172 3 virtio_balloon,9pnet_virtio,virtio_scsi 9p 54021 0 9pnet 69248 3 9p,9pnet_rdma,9pnet_virtio fscache 62354 1 9p Thank you Vlad On Thu 20 Mar 2014 04:57:00 PM CET, Christophe Fergeau wrote:
On Thu, Mar 20, 2014 at 11:46:28AM -0400, Jonathon Jongsma wrote:
The spice-vdagent should be running in the guest. Have you installed the spice guest tools in your windows guest? Download them here: http://www.spice-space.org/download.html
That should get clipboard sharing working.
You also need to have your VM configured to use SPICE, and to add the needed channel, see http://people.freedesktop.org/~teuf/spice-doc/html/ch02s05.html
Christophe

----- Original Message -----
From: "Laszlo Pal (private)" <vlad@vlad.hu> To: "Christophe Fergeau" <cfergeau@redhat.com> Cc: libvirt-users@redhat.com, virt-tools-list@redhat.com, "Jonathon Jongsma" <jjongsma@redhat.com> Sent: Thursday, March 20, 2014 11:29:37 AM Subject: Re: [virt-tools-list] Linux host / Windows guest sharing
Thank you. The clipboard sharing working now. Do you have any idea for the mount issue? I suppose there is a way to share a specific directory between the guest and host like I did with vbox for example
What exact modules needed for this function?
The error message I've got this:
mount -t 9p -o trans=virtio,version=9p2000.L hostshare /tmp/hostfiles mount: special device hostshare does not exist
syslog: 9pnet_virtio: no channels available
my modules
9pnet_rdma 12966 0 rdma_cm 42325 1 9pnet_rdma ib_core 74297 6 rdma_cm,ib_cm,ib_sa,iw_cm,9pnet_rdma,ib_mad 9pnet_virtio 17519 0 virtio_ring 19975 3 virtio_balloon,9pnet_virtio,virtio_scsi virtio 14172 3 virtio_balloon,9pnet_virtio,virtio_scsi 9p 54021 0 9pnet 69248 3 9p,9pnet_rdma,9pnet_virtio fscache 62354 1 9p
Thank you Vlad
It appears that you're trying to run the mount command in your host. As far as I know (I've never really used this feature), you should be mounting the shared folder within the guest, but windows doesn't really support the 9p filesystem. Other alternatives include mounting a SMB share on both the host and the guest. Spice also has basic support for file transfers from the host to guest (just drag and drop a file icon onto your virt-viewer window and it should automatically transfer it to the guest). Marc-andre is also working on a webdav sharing feature for spice, but it's still in development. Jonathon

Thank you. It is clear now, so it was user error and I should read more documentation :) Unfortunately drag and drop isn't working. Is there any prerequisite? My host is FC20 and guest is Win2k8 server Thank you Vlad On Thu 20 Mar 2014 05:42:40 PM CET, Jonathon Jongsma wrote:
----- Original Message -----
From: "Laszlo Pal (private)" <vlad@vlad.hu> To: "Christophe Fergeau" <cfergeau@redhat.com> Cc: libvirt-users@redhat.com, virt-tools-list@redhat.com, "Jonathon Jongsma" <jjongsma@redhat.com> Sent: Thursday, March 20, 2014 11:29:37 AM Subject: Re: [virt-tools-list] Linux host / Windows guest sharing
Thank you. The clipboard sharing working now. Do you have any idea for the mount issue? I suppose there is a way to share a specific directory between the guest and host like I did with vbox for example
What exact modules needed for this function?
The error message I've got this:
mount -t 9p -o trans=virtio,version=9p2000.L hostshare /tmp/hostfiles mount: special device hostshare does not exist
syslog: 9pnet_virtio: no channels available
my modules
9pnet_rdma 12966 0 rdma_cm 42325 1 9pnet_rdma ib_core 74297 6 rdma_cm,ib_cm,ib_sa,iw_cm,9pnet_rdma,ib_mad 9pnet_virtio 17519 0 virtio_ring 19975 3 virtio_balloon,9pnet_virtio,virtio_scsi virtio 14172 3 virtio_balloon,9pnet_virtio,virtio_scsi 9p 54021 0 9pnet 69248 3 9p,9pnet_rdma,9pnet_virtio fscache 62354 1 9p
Thank you Vlad
It appears that you're trying to run the mount command in your host. As far as I know (I've never really used this feature), you should be mounting the shared folder within the guest, but windows doesn't really support the 9p filesystem. Other alternatives include mounting a SMB share on both the host and the guest. Spice also has basic support for file transfers from the host to guest (just drag and drop a file icon onto your virt-viewer window and it should automatically transfer it to the guest). Marc-andre is also working on a webdav sharing feature for spice, but it's still in development.
Jonathon

----- Original Message -----
From: "Laszlo Pal (private)" <vlad@vlad.hu> To: "Jonathon Jongsma" <jjongsma@redhat.com> Cc: "Christophe Fergeau" <cfergeau@redhat.com>, libvirt-users@redhat.com, virt-tools-list@redhat.com Sent: Thursday, March 20, 2014 11:49:51 AM Subject: Re: [virt-tools-list] Linux host / Windows guest sharing
Thank you. It is clear now, so it was user error and I should read more documentation :)
Unfortunately drag and drop isn't working. Is there any prerequisite? My host is FC20 and guest is Win2k8 server
Thank you Vlad
The prerequisites should be the same as those for clipboard sharing. I've just tried file transfer on win xp and windows 7 guests and they both work fine -- the file shows up on the desktop after it has finished transferring. There's not a lot of user feedback while the transfer is happening though... Jonathon
On Thu 20 Mar 2014 05:42:40 PM CET, Jonathon Jongsma wrote:
----- Original Message -----
From: "Laszlo Pal (private)" <vlad@vlad.hu> To: "Christophe Fergeau" <cfergeau@redhat.com> Cc: libvirt-users@redhat.com, virt-tools-list@redhat.com, "Jonathon Jongsma" <jjongsma@redhat.com> Sent: Thursday, March 20, 2014 11:29:37 AM Subject: Re: [virt-tools-list] Linux host / Windows guest sharing
Thank you. The clipboard sharing working now. Do you have any idea for the mount issue? I suppose there is a way to share a specific directory between the guest and host like I did with vbox for example
What exact modules needed for this function?
The error message I've got this:
mount -t 9p -o trans=virtio,version=9p2000.L hostshare /tmp/hostfiles mount: special device hostshare does not exist
syslog: 9pnet_virtio: no channels available
my modules
9pnet_rdma 12966 0 rdma_cm 42325 1 9pnet_rdma ib_core 74297 6 rdma_cm,ib_cm,ib_sa,iw_cm,9pnet_rdma,ib_mad 9pnet_virtio 17519 0 virtio_ring 19975 3 virtio_balloon,9pnet_virtio,virtio_scsi virtio 14172 3 virtio_balloon,9pnet_virtio,virtio_scsi 9p 54021 0 9pnet 69248 3 9p,9pnet_rdma,9pnet_virtio fscache 62354 1 9p
Thank you Vlad
It appears that you're trying to run the mount command in your host. As far as I know (I've never really used this feature), you should be mounting the shared folder within the guest, but windows doesn't really support the 9p filesystem. Other alternatives include mounting a SMB share on both the host and the guest. Spice also has basic support for file transfers from the host to guest (just drag and drop a file icon onto your virt-viewer window and it should automatically transfer it to the guest). Marc-andre is also working on a webdav sharing feature for spice, but it's still in development.
Jonathon
participants (4)
-
Christophe Fergeau
-
Jonathon Jongsma
-
Pal, Laszlo
-
Pal, Laszlo (private)