From: "dengp...@chinatelecom.cn" <dengp...@chinatelecom.cn>
1. after live migration, copy/paste with vnc is not working. this is because: 1). vd->caps is not saved; this will leads wrong clipboard type is prased in vdagent_clipboard_recv_grab; 2). vdagent isn`t register to qemu-clipboard; this will leads vdagent cannot send/receive messages from qemu-clipboard, thus copy validated on win2016 data center evaluation with spice-guest-tools-latest(spice-guest-tools-0.141) and on fedora 37 with spice-vd 2. the possible memory leak we called qemu_input_handler_register, but not calling qemu_input_handler_unregister; qemu_input_handler_register will mallocate memory; we post this patchset for RFC and any corrections and suggetions about the implementation are very appreciated! Please review, thanks ! Best Regards ! dengp...@chinatelecom.cn (4): vdagent: fix memory leak when vdagent_disconnect is called vdagent: refactor vdagent_chr_recv_caps function vdagent: add live migration support vdagent: remove migration blocker ui/trace-events | 2 ++ ui/vdagent.c | 62 +++++++++++++++++++++++++++++++++---------------- 2 files changed, 44 insertions(+), 20 deletions(-) -- 2.27.0