Hello Marc-André and all,

I am trying to debug an issue where I am unable to get copy-paste to work with 
libvirt, qemu and VNC (no spice).

The qemu command line that results from the libvirt vdagent and vnc 
configuration contains:

-chardev socket,id=charchannel0,fd=52,server=on,wait=off \
-device 
'{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}'
 \
-chardev qemu-vdagent,id=charchannel1,name=vdagent,clipboard=on \
-device 
'{"driver":"virtserialport","bus":"virtio-serial0.0","nr":2,"chardev":"charchannel1","id":"channel1","name":"com.redhat.spice.0"}'
 \
-vnc 127.0.0.1:3,audiodev=audio1

I tried tigervnc viewer v1.9.0 and 1.14.0,
and in no case I was able to get the clipboard to work.

I did not find docs on the matter in qemu/docs/ , or in qemu.org/docs

How can I debug this further?

I have a -trace "*vdagent*" injected into the qemu command line, and that gets 
me to:

2972153@1743002351.233130:vdagent_open
2972192@1743002362.649762:vdagent_close
2972192@1743002362.649771:vdagent_disconnect

Apparently the vdagent connection is closed after 11 seconds, but I have no 
idea why..

Thanks for any suggestions,

Claudio


-- 
Claudio Fontana
Engineering Manager Virtualization, SUSE Labs Core

SUSE Software Solutions Italy Srl

Reply via email to