Red Hat Bugzilla – Bug 1459966
Communication between -chardev spiceport and -device virtserialport doesn't work in qemu-kvm
Last modified: 2018-04-16 09:21:36 EDT
Description of problem:
Webdav doesn't work in RHEL 7.4
Version-Release number of selected component (if applicable):
qemu-kvm-rhev-2.6.0-28.el7_3.10.x86_64 (ships with RHV 4.1, works)
spice-server-0.12.8-2.el7.x86_64 (works with qemu-kvm-rhev)
Steps to Reproduce:
1. run VM with webdav devices present
2. connect to client with webdav support to guest with webdav support (e.g. F25 to F25 on top of RHEL 7.4)
3. share some folder in virt-viewer's File → Preferences
4. in the guest, do one of the following:
go to Nautilus → Other Locations, click Spice-client-folder
CLI: cadaver http://127.0.0.1:9843/
connections time out
webdav works with RHEL's default qemu
David, Some questions:
What is a webdav device?
What is the libvirt XML you are using? Also, provide the qemu-kvm command line.
What is the use case for webdav? What customers want to use it? Why?
The original bug title is actually incorrect. From qemu point of view, spice's "folder sharing" feature is just connecting -device virtserialport frontend to -chardev spiceport backend, introduced in qemu 1.4.
The name of the port ("org.spice-space.webdav.0") and the protocol used to share some client folder to the guest (Webdav) is not much relevant from qemu POV. Until now, the spice port channel didn't have much use as it required modified client. With current rebase of spice-server to 0.12.8, we got an internal use of the virtserialport connected to spiceport backend device, exposing this bug.
There have been just three commits mentioning "spiceport" in commit message in whole qemu history and around a dozen when doing pickaxe search:
and as mentioned earlier, in RHV's qemu 2.6, spiceport device works OK so the fix should not be hard. Marc-André (already in CC) may know more, he worked on the feature both on qemu and spice sides.
commit 890911464934aebcb4409ad2495449d15d7347b4 needs to be backported for spice-ports to work with virtio-ports. I don't know if this is rhel7 material though.
moving to 7.6