Re: [Spice-devel] Fedora 34 guests can no longer paste from host

2021-04-20 Thread Germano Massullo
Il 20/04/21 15:47, Daniel P. Berrangé ha scritto:
> I'd suggest filing a BZ against spice-vdagent package

https://bugzilla.redhat.com/show_bug.cgi?id=1951580

Thank you!
___
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel


Re: [Spice-devel] Fedora 34 guests can no longer paste from host

2021-04-20 Thread Daniel P . Berrangé
On Tue, Apr 20, 2021 at 03:08:48PM +0200, Germano Massullo wrote:
> https://germano.fedorapeople.org/bugreport/spice/spice_vda_fedora34kde.txt
> https://germano.fedorapeople.org/bugreport/spice/spice_vda_fedora34gnome.txt

In one case the service is not running at all, and in the other
case it appears to have deactivated itself:

apr 20 15:01:13 fedora spice-vdagentd[1422]: opening vdagent virtio channel
apr 20 15:01:14 fedora spice-vdagentd[1422]: Set max clipboard: 104857600
apr 20 15:01:17 fedora spice-vdagentd[1422]: multiple agents in one session, 
disabling agent to avoid potential information leak
apr 20 15:01:17 fedora spice-vdagentd[1422]: closed vdagent virtio channel
apr 20 15:01:17 fedora spice-vdagentd[1422]: No active session, can't forward 
message (type 13)

I'd suggest filing a BZ against  spice-vdagent package

Regards,
Daniel
-- 
|: https://berrange.com  -o-https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o-https://fstop138.berrange.com :|
|: https://entangle-photo.org-o-https://www.instagram.com/dberrange :|

___
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel


Re: [Spice-devel] Fedora 34 guests can no longer paste from host

2021-04-20 Thread Germano Massullo
https://germano.fedorapeople.org/bugreport/spice/spice_vda_fedora34kde.txt
https://germano.fedorapeople.org/bugreport/spice/spice_vda_fedora34gnome.txt
___
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel


Re: [Spice-devel] Fedora 34 guests can no longer paste from host

2021-04-20 Thread Daniel P . Berrangé
On Tue, Apr 20, 2021 at 02:49:38PM +0200, Germano Massullo wrote:
> Il 20/04/21 13:35, Daniel P. Berrangé ha scritto:
> > On Tue, Apr 20, 2021 at 11:56:23AM +0200, Germano Massullo wrote:
> >> Good day, I always used with success a Fedora 33 KDE host 
> >> (qemu/kvm/libvirt+virt-manager) and a F33 KDE guest, and I have always 
> >> been to copy paste from host to guest and viceversa
> >>
> >> Now I tested two Fedora 34 Beta guests:
> >> - KDE spin
> >> - Workstation (GNOME)
> >> and both of them fail to paste text and files from the host. spice-vdagent 
> >> version is the same on both F33 and F34 guests: 0.21.0. Host machine has 
> >> spice-gtk3-0.39-1.fc33.x86_64
> >> All machines mentioned in this bugreport are Xorg based.
> >>
> >> Hereunder I attach output of
> >> $ SPICE_DEBUG=1 virt-viewer --connect qemu:///system
> >> https://germano.fedorapeople.org/bugreport/spice/spice_debug.txt
> >>
> >> # virsh dumpxml fedora34gnome
> >> https://germano.fedorapeople.org/bugreport/spice/virsh_dumpxml.txt
> > That seems to be the inactive guest XML.
> >
> > If you provide the active XML (ie virsh dump when the guest is running),
> > then the  should confirm whether or not the agent is connected.
> 
> I started two guests and retrieved their XML
> https://germano.fedorapeople.org/bugreport/spice/virsh_dump_fedora-kde-f34.txt
> https://germano.fedorapeople.org/bugreport/spice/virsh_dump_fedora34gnome_2.txt


  
  
  
  


  
  
  



Here we can see that the QEMU guest agent started fine, but the SPICE
guest agent failed to start.

The SPICE guest agent is the one that provides clipboard integration.

Given that we see QEMU agent running, this smells like a guest OS
problem rather than a host problem.

Check whether 'spice-vdagent' is installed, and whether 'spice-vdagent'
and 'spice-vdagentd' are both running in the guest

Regards,
Daniel
-- 
|: https://berrange.com  -o-https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o-https://fstop138.berrange.com :|
|: https://entangle-photo.org-o-https://www.instagram.com/dberrange :|

___
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel


Re: [Spice-devel] Fedora 34 guests can no longer paste from host

2021-04-20 Thread Germano Massullo
Il 20/04/21 13:35, Daniel P. Berrangé ha scritto:
> On Tue, Apr 20, 2021 at 11:56:23AM +0200, Germano Massullo wrote:
>> Good day, I always used with success a Fedora 33 KDE host 
>> (qemu/kvm/libvirt+virt-manager) and a F33 KDE guest, and I have always been 
>> to copy paste from host to guest and viceversa
>>
>> Now I tested two Fedora 34 Beta guests:
>> - KDE spin
>> - Workstation (GNOME)
>> and both of them fail to paste text and files from the host. spice-vdagent 
>> version is the same on both F33 and F34 guests: 0.21.0. Host machine has 
>> spice-gtk3-0.39-1.fc33.x86_64
>> All machines mentioned in this bugreport are Xorg based.
>>
>> Hereunder I attach output of
>> $ SPICE_DEBUG=1 virt-viewer --connect qemu:///system
>> https://germano.fedorapeople.org/bugreport/spice/spice_debug.txt
>>
>> # virsh dumpxml fedora34gnome
>> https://germano.fedorapeople.org/bugreport/spice/virsh_dumpxml.txt
> That seems to be the inactive guest XML.
>
> If you provide the active XML (ie virsh dump when the guest is running),
> then the  should confirm whether or not the agent is connected.

I started two guests and retrieved their XML
https://germano.fedorapeople.org/bugreport/spice/virsh_dump_fedora-kde-f34.txt
https://germano.fedorapeople.org/bugreport/spice/virsh_dump_fedora34gnome_2.txt

Thank you!
___
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel


Re: [Spice-devel] Fedora 34 guests can no longer paste from host

2021-04-20 Thread Daniel P . Berrangé
On Tue, Apr 20, 2021 at 11:56:23AM +0200, Germano Massullo wrote:
> Good day, I always used with success a Fedora 33 KDE host 
> (qemu/kvm/libvirt+virt-manager) and a F33 KDE guest, and I have always been 
> to copy paste from host to guest and viceversa
> 
> Now I tested two Fedora 34 Beta guests:
> - KDE spin
> - Workstation (GNOME)
> and both of them fail to paste text and files from the host. spice-vdagent 
> version is the same on both F33 and F34 guests: 0.21.0. Host machine has 
> spice-gtk3-0.39-1.fc33.x86_64
> All machines mentioned in this bugreport are Xorg based.
> 
> Hereunder I attach output of
> $ SPICE_DEBUG=1 virt-viewer --connect qemu:///system
> https://germano.fedorapeople.org/bugreport/spice/spice_debug.txt
> 
> # virsh dumpxml fedora34gnome
> https://germano.fedorapeople.org/bugreport/spice/virsh_dumpxml.txt

That seems to be the inactive guest XML.

If you provide the active XML (ie virsh dump when the guest is running),
then the  should confirm whether or not the agent is connected.

Given what Marc-Andre pointed out from the spice debug, I presume it
is going to be marked as not connected


Regards,
Daniel
-- 
|: https://berrange.com  -o-https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o-https://fstop138.berrange.com :|
|: https://entangle-photo.org-o-https://www.instagram.com/dberrange :|

___
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel


Re: [Spice-devel] Fedora 34 guests can no longer paste from host

2021-04-20 Thread Marc-André Lureau
Hi

On Tue, Apr 20, 2021 at 1:56 PM Germano Massullo 
wrote:

> Good day, I always used with success a Fedora 33 KDE host 
> (qemu/kvm/libvirt+virt-manager) and a F33 KDE guest, and I have always been 
> to copy paste from host to guest and viceversa
>
> Now I tested two Fedora 34 Beta guests:
> - KDE spin
> - Workstation (GNOME)
> and both of them fail to paste text and files from the host. spice-vdagent 
> version is the same on both F33 and F34 guests: 0.21.0. Host machine has 
> spice-gtk3-0.39-1.fc33.x86_64
> All machines mentioned in this bugreport are Xorg based.
>
> Hereunder I attach output of
> $ SPICE_DEBUG=1 virt-viewer --connect 
> qemu:///systemhttps://germano.fedorapeople.org/bugreport/spice/spice_debug.txt
>
>
I think the main hint is:

../src/channel-main.c:1590 agent connected: no

I did a quick f34 beta VM check (GNOME), a few days ago. I also
reached a similar situation at some point, but it was gone before I
could understand the reason (probably after update & reboot).

Either it was fixed elsewhere or we will have to investigate further
if it happens randomly.

Anyway thanks for the report

# virsh dumpxml
fedora34gnomehttps://germano.fedorapeople.org/bugreport/spice/virsh_dumpxml.txt
>
> What can be the problem?
> Thank you
>
>
>
> ___
> Spice-devel mailing list
> Spice-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
>


-- 
Marc-André Lureau
___
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel


[Spice-devel] Fedora 34 guests can no longer paste from host

2021-04-20 Thread Germano Massullo
Good day, I always used with success a Fedora 33 KDE host 
(qemu/kvm/libvirt+virt-manager) and a F33 KDE guest, and I have always been to 
copy paste from host to guest and viceversa

Now I tested two Fedora 34 Beta guests:
- KDE spin
- Workstation (GNOME)
and both of them fail to paste text and files from the host. spice-vdagent 
version is the same on both F33 and F34 guests: 0.21.0. Host machine has 
spice-gtk3-0.39-1.fc33.x86_64
All machines mentioned in this bugreport are Xorg based.

Hereunder I attach output of
$ SPICE_DEBUG=1 virt-viewer --connect qemu:///system
https://germano.fedorapeople.org/bugreport/spice/spice_debug.txt

# virsh dumpxml fedora34gnome
https://germano.fedorapeople.org/bugreport/spice/virsh_dumpxml.txt
 
What can be the problem?
Thank you


___
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel