RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1459966 - Communication between -chardev spiceport and -device virtserialport doesn't work in qemu-kvm
Summary: Communication between -chardev spiceport and -device virtserialport doesn't w...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Marc-Andre Lureau
QA Contact: Chao Yang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-08 17:02 UTC by David Jaša
Modified: 2018-04-16 13:21 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-16 13:21:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description David Jaša 2017-06-08 17:02:36 UTC
Description of problem:
Webdav doesn't work in RHEL 7.4 

Version-Release number of selected component (if applicable):
qemu-kvm-1.5.3-140.el7.x86_64
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)

How reproducible:
always

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/

Actual results:
connections time out

Expected results:
webdav works with RHEL's default qemu

Additional info:

Comment 1 Karen Noel 2017-06-13 14:43:16 UTC
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?

Thanks.

Comment 2 David Jaša 2017-06-15 16:18:09 UTC
Hello Karen,

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:
http://git.qemu.org/?p=qemu.git&a=search&st=commit&s=spiceport
http://git.qemu.org/?p=qemu.git&a=search&st=pickaxe&s=spiceport
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.

Comment 3 Marc-Andre Lureau 2017-06-18 22:40:38 UTC
commit 890911464934aebcb4409ad2495449d15d7347b4 needs to be backported for spice-ports to work with virtio-ports. I don't know if this is rhel7 material though.

Comment 4 Marc-Andre Lureau 2017-11-16 10:56:37 UTC
moving to 7.6


Note You need to log in before you can comment on or make changes to this bug.