From 06d646352efcf5b37c1bef09409ef52a0fb5dde2 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Wed, 19 Mar 2014 17:02:28 +0100 Subject: manual: add folder sharing section --- docs/manual/manual.txt | 57 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/manual/manual.txt b/docs/manual/manual.txt index 27ad4c86..d8effd5a 100644 --- a/docs/manual/manual.txt +++ b/docs/manual/manual.txt @@ -790,6 +790,61 @@ remote-viewer will pop up a window asking for a password before starting the Spice session. It won't be established if an incorrect ticket was passed to the client. +Folder sharing +============== + +The Spice client can share a folder with the remote guest. By default, +the client will share the XDG Public Share directory, or '~/Public' by +default. You may specify a different folder with `--spice-share-dir` +client option. + +Configuration +------------- + +.Using virt-manager + +It's currently not possible to configure folder sharing with virt-manager. + +.Using libvirt + +In order to set up folder sharing, qemu needs to expose a +`org.spice-space.webdav.0` virtio port, associated with a +corresponding Spice port: + +[source,sh] + + + + + + + +.Using QEMU + +In order to set up folder sharing, qemu needs to expose a +`org.spice-space.webdav.0` virtio port, associated with a +corresponding Spice port: + +[source,sh] +-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0 -chardev spiceport,name=org.spice-space.webdav.0,id=charchannel1 + +Guest configuration +------------------- + +.Windows +In a Windows guest, you must then install +http://elmarco.fedorapeople.org/spice-webdavd-x86-0.1.24.msi[spice-webdavd] +service, and register the drive (by running 'map-drive.bat' from +'Program Files/Spice webdav'). + +.Linux + +With a Linux guest, you must install the spice-webdavd service (the +sources are available at https://git.gnome.org/browse/phodav). The +folder will show up in GNOME Files network places (or Nautilus). It +can then be mounted and browsed in traditional applications thanks to +`gvfs-fuse`. + QEMU Spice reference ==================== @@ -807,7 +862,7 @@ online documentation]. Basic syntax is `-spice `. QXL command line options ------------------------ - * ram_size + * ram_size * vram_size * revision * debug -- cgit