On 02/28/2014 02:16 PM, Marc-André Lureau wrote: > From: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx> > > Hi, > > This is the client bits to get folder sharing capability using the > WebDAV channel. > > How to test it? > > You'll need spice-server with this patch: > http://patchwork.freedesktop.org/patch/17802/ > > Then using qemu master, use the following port redirection: > > -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 > > In a Windows guest, you must then install > http://elmarco.fedorapeople.org/spice-webdavd-x86-0.1.24.msi, and > register the drive (by running map-drive.bat from Program Files/Spice > webdav). By default, the "public share" directory is used. You may > specify a different folder with --spice-share-dir option. > > With a Linux guest, atm, you must compile phodav (form git.gnome.org) > and run spice-webdavd -p 8000 as root. The folder will show up in > nautilus network places. It can then be mounted and browsed in > traditional apps thanks to gvfs-fuse. Tested with fedora and windows 7. With fedora had to use (apparently well known) mounting via "connect to server" in nautilus, with both had to use spicy since remote-viewer is not yet working (just a note to other people testing this). Works fine in my small testing, no notifications in guest from host changes (well known limitation) but copy/paste worked fine (largest file I copied was 3 Megabyte guest to host). I'll try to review next. > > > Marc-André Lureau (2): > Add webdav channel > session: add shared-dir property and option > > .gitmodules | 3 + > autogen.sh | 2 +- > configure.ac | 4 + > doc/reference/spice-gtk-docs.xml | 1 + > doc/reference/spice-gtk-sections.txt | 17 + > doc/reference/spice-gtk.types | 4 +- > gtk/Makefile.am | 9 +- > gtk/channel-webdav.c | 737 +++++++++++++++++++++++++++++++++++ > gtk/channel-webdav.h | 68 ++++ > gtk/map-file | 1 + > gtk/phodav | 1 + > gtk/spice-channel.c | 6 + > gtk/spice-client.h | 1 + > gtk/spice-glib-sym-file | 1 + > gtk/spice-option.c | 5 + > gtk/spice-session-priv.h | 6 + > gtk/spice-session.c | 50 ++- > spice-common | 2 +- > 18 files changed, 912 insertions(+), 6 deletions(-) > create mode 100644 gtk/channel-webdav.c > create mode 100644 gtk/channel-webdav.h > create mode 160000 gtk/phodav > _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel