[Spice-devel] [spice-gtk 0/5] Add webdav channel

Marc-André Lureau marcandre.lureau at gmail.com
Wed Jan 22 10:26:46 PST 2014


From: Marc-André Lureau <marcandre.lureau at redhat.com>

Hi,

This is a webdav channel using the "phodav" submodule from
https://git.gnome.org/browse/phodav.

After applying qemu fix:
http://lists.gnu.org/archive/html/qemu-devel/2014-01/msg01239.html
to test the channel, launch qemu with org.spice-space.webdav.0 port
redirected to virtio, ex:

 ... -device virtserialport,..,chardev=charchannel1,name=org.spice-space.webdav.0
 -chardev spiceport,name=org.spice-space.webdav.0,id=charchannel1

Then connect to guest with spice-gtk and run "while true ; do
spice-webdavd -p 8000 ; done" in guest (and equivalently on
windows). You can then access dav://localhost:8000 or browse the
client filesystems in guest explorer (nautilus etc). On Unix,
gvfs-fuse can be used to mount the filesystem for applications that do
not support gio.

Marc-André Lureau (5):
  port: send opened a port-event signal on init
  spicy: do not flush and disconnect all kind of ports
  session: don't track open_host_idle source id
  Add SpiceVMC GIOStream
  Add webdav channel

 .gitmodules              |   3 +
 autogen.sh               |   2 +-
 configure.ac             |   4 +
 gtk/Makefile.am          |  20 +-
 gtk/channel-base.c       |  48 ++++
 gtk/channel-port.c       |  38 +--
 gtk/channel-webdav.c     | 719 +++++++++++++++++++++++++++++++++++++++++++++++
 gtk/channel-webdav.h     |  68 +++++
 gtk/map-file             |   1 +
 gtk/phodav               |   1 +
 gtk/spice-channel-priv.h |   8 +
 gtk/spice-channel.c      |   6 +
 gtk/spice-client.h       |   1 +
 gtk/spice-glib-sym-file  |   1 +
 gtk/spice-gtk-session.c  |   1 -
 gtk/spice-session-priv.h |   3 +
 gtk/spice-session.c      |   4 +-
 gtk/spicy.c              |   3 +-
 gtk/vmcstream.c          | 532 +++++++++++++++++++++++++++++++++++
 gtk/vmcstream.h          |  81 ++++++
 spice-common             |   2 +-
 21 files changed, 1505 insertions(+), 41 deletions(-)
 create mode 100644 gtk/channel-webdav.c
 create mode 100644 gtk/channel-webdav.h
 create mode 160000 gtk/phodav
 create mode 100644 gtk/vmcstream.c
 create mode 100644 gtk/vmcstream.h

-- 
1.8.4.2



More information about the Spice-devel mailing list