[PATCH spice-gtk 0/2] WebDAV channel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


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

-- 
1.8.5.3

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]