Re: [PATCH] virtManager: Folder sharing implementation for SPICE session

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

 



On 8/12/20 10:34 PM, dianlujitao wrote:
> Thanks for reviewing.
> 
> I agree that it's a big mess to maintain its availability, do you have
> connections with the SPICE team so there's chance to work together to
> improve the protocol? Essentially virt-viewer suffers from the same
> problem and can benefit from the enhancement if it happens.
> 

If you file a bug with spice I will add some comments. My guess is that
this type of UI nice to have will be low priority, unless it's a small
thing that is easy to expose. But we can try

> For the planned virt-viewer integration, since virt-manager's built-in
> viewer has implemented most of virt-viewer's feature, I don't quite
> understand the intuition behind, would that bring much advantages over
> the built-in viewer?
> 

The big one is multi display support, running a VM with multiple virtual
monitors so multiple viewer windows, it would take significant rework to
handle with virt-manager so I don't think it's every going to happen.
Some of the things available via virt-viewer --help-spice options,
though many can be configured via the domain XML and 'just work' with
virt-manager. We aren't too different from virt-viewer but compared to
full features VNC client, or the spicy client which exposes every spice
feature, we are missing a lot of options.

The idea is that virt-viewer/$otherclient would be the full featured
client with aim to expose more/all spice/vnc options, and virt-manager
would only cover a common subset, to save us from having to maintain a
duplicate feature set.

Thanks,
Cole

> 閸︼拷 2020/8/13 娑撳﹤宕�4:29, Cole Robinson 閸愭瑩浜�:
>> On 7/25/20 9:30 AM, Jitao Lu wrote:
>>>   * This implements folder sharing for the built-in Spice client, tested
>>>     working with Win10 guest.
>>>   * The basic idea is taken from virt-viewer.
>>>
>>> Signed-off-by: Jitao Lu <dianlujitao@xxxxxxxxx>
>>> ---
>>>   ui/spicewebdav.ui                  | 129 +++++++++++++++++++++++++++++
>>>   ui/vmwindow.ui                     |  17 +++-
>>>   virtManager/details/console.py     |   8 ++
>>>   virtManager/details/spicewebdav.py |  60 ++++++++++++++
>>>   virtManager/details/viewers.py     |  68 +++++++++++++++
>>>   virtManager/vmwindow.py            |   8 ++
>>>   6 files changed, 286 insertions(+), 4 deletions(-)
>>>   create mode 100644 ui/spicewebdav.ui
>>>   create mode 100644 virtManager/details/spicewebdav.py
>>>
>> This looks pretty good, thanks. The only bits I would like to add are:
>>
>> * Tooltip when the Menu item is disabled, indicating the reason it's not
>> enabled: not using SPICE, or no webdav channel enabled
>> * Probably a warning label in the dialog that webdav requires an agent
>> running the guest OS.
>>
>> But honestly I'm trying to decide if this is worth it for virt-manager.
>> Generally these types of features that require external config just to
>> get working are a big pain for support. spice doesn't have any mechanism
>> that I can tell to inform us if anything is listening on the other side
>> of the webdav channel so we can't give good feedback in the UI if this
>> even has a chance of working. And specifically for spice features, per
>> the design[1] document, anything advanced I would prefer to leave for
>> virt-viewer to do (which obviously already handles this as you mention).
>> Because it's not something that works out of the box and requires
>> external config, it's not a stretch to ask users to also use virt-viewer
>> when they need it.
>>
>> [1]: https://github.com/virt-manager/virt-manager/blob/master/DESIGN.md
>>
>> So I'm unsure what to do. I was planning for the next release to
>> investigate some ways to make it easier to use virt-viewer side by side
>> with virt-manager, maybe an option to have virt-manager not autoconnect
>> to the console, and possibly even a button or menu option to launch
>> virt-viewer directly, but I need to play with it.
>>
>> Thanks,
>> Cole
>>
>




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux