[pve-devel] applied: [qemu-server] fix: do not allow live-migration with clipboard=vnc

Fiona Ebner f.ebner at proxmox.com
Wed Nov 29 10:31:35 CET 2023


Am 24.11.23 um 13:32 schrieb Markus Frank:
> In the migrate_vm_precondition API function if clipboard
> is set to vnc on a running VM the text "clipboard=vnc"
> gets added to local_resources so that the GUI blocks execution and shows:
> "Can't migrate VM with local resources: clipboard=vnc"
> 
> In QemuMigrate's prepare function a new 'die' prevents a
> live-migration if a running VMs has clipboard set to vnc.
> 
> Signed-off-by: Markus Frank <m.frank at proxmox.com>

applied, thanks!

Added the reason why to the commit message (because QEMU's vdagent
device doesn't support it yet) and reworded it a bit to avoid talking
about code specifics and (hopefully) improve readability.

Also made a follow-up adding this information to the description of the
clipboard in the schema. When it's added to the UI, it would also be
great to have a hint there, because it is rather surprising that it
prevents live-migration.




More information about the pve-devel mailing list