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

Daniel P. Berrangé berrange at redhat.com
Tue Apr 20 12:54:28 UTC 2021


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 <channel> 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

    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-33-fedora-kde-f34/org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0' state='disconnected'/>
      <alias name='channel1'/>
      <address type='virtio-serial' controller='0' bus='0' port='2'/>
    </channel>


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 :|



More information about the Spice-devel mailing list