qemu-devel
[Top][All Lists]
Advanced

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

[PATCH RFC 0/4] vdagent: support live migration


From: dengpc12
Subject: [PATCH RFC 0/4] vdagent: support live migration
Date: Fri, 30 Dec 2022 17:27:54 +0800

From: "dengpc12@chinatelecom.cn" <dengpc12@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 !

dengpc12@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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]