Bug 1444637

Summary: RFE: support SPICE folder sharing
Product: [Community] Virtualization Tools Reporter: Guide d'autodéfense numérique <guide>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED DEFERRED QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, bigon, bob, crobinso, fziglio, gscrivan, hardy.masers-0r, ismael, jens, martin, redhatbugs, rh, stovepype
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-16 21:34:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Guide d'autodéfense numérique 2017-04-23 14:01:53 UTC
Description of problem: we found no way to enable Spice folder sharing in virt-manager. However, it seems to be the only way to share files from a windows guest to the host system.

Version-Release number of selected component (if applicable): 1.4.0

Steps to Reproduce:
1. install windows virtual machine
2. open virtual machine details
3. click Add Hardware
4. select Channel
5. select Name: org.spice-space.webdav.0
6. click Finish
7. (re)start vitrual machine

Actual results: we found no way to enable folder sharing in the virt-manager Spice client.

Expected results: an option similar to virt-viewer File > Preferences > Folder sharing > Share folder.

Additional info: the option "Share folder" could be next to "Redirect USB device" in the Virtual Machine menu.

Comment 1 dw 2017-08-02 16:29:07 UTC
It would be great if virt-manager could support this -- switching to virt-viewer to share files is a bit silly.

https://www.spice-space.org/docs/manual/manual.chunked/ar01s10.html

makes it seem like folder sharing should work out of the box with virt-manager, but it doesn't.

https://lists.freedesktop.org/archives/spice-devel/2015-February/018896.html

seems relevant:

"""
There is a missing channel connect() in various clients.
For ex, virt-manager needs:
       elif (type(channel) == SpiceClientGLib.WebdavChannel):
            channel.connect()
"""

The relevant GUI options (folder picking, read-only) could be added to the "Channel spice-webdav" options.

So 1) connect the channel and 2) add the relevant options.

Comment 2 Cole Robinson 2020-09-16 21:34:39 UTC
We are stopping use of bugzilla.redhat.com for upstream virt-manager and moving to github issue. I filed this request here: https://github.com/virt-manager/virt-manager/issues/156