[pve-devel] [PATCH qemu-server v1 1/3] vga: allow live-migration with clipboard

Fiona Ebner f.ebner at proxmox.com
Mon Nov 17 17:42:12 CET 2025


Am 17.11.25 um 5:28 PM schrieb Markus Frank:
> The live-migration feature now works with qemu's upstream commit:
> 5d56bff11e ("ui/vdagent: add migration support")
> 
> Signed-off-by: Markus Frank <m.frank at proxmox.com>
> ---
>  src/PVE/API2/Qemu.pm   | 5 -----
>  src/PVE/QemuMigrate.pm | 5 -----
>  src/PVE/QemuServer.pm  | 2 +-
>  3 files changed, 1 insertion(+), 11 deletions(-)
> 
> diff --git a/src/PVE/API2/Qemu.pm b/src/PVE/API2/Qemu.pm
> index 02f5caec..314b6a48 100644
> --- a/src/PVE/API2/Qemu.pm
> +++ b/src/PVE/API2/Qemu.pm
> @@ -5267,11 +5267,6 @@ __PACKAGE__->register_method({
>          my ($local_resources, $mapped_resources, $missing_mappings_by_node) =
>              PVE::QemuMigrate::Helpers::check_local_resources($vmconf, $res->{running}, 1);
>  
> -        my $vga = PVE::QemuServer::parse_vga($vmconf->{vga});
> -        if ($res->{running} && $vga->{'clipboard'} && $vga->{'clipboard'} eq 'vnc') {
> -            push $local_resources->@*, "clipboard=vnc";
> -        }

I suppose this depends on having machine version >= 10.1, or? (In any
case QEMU binary version >= 10.1 but that is implied by machine version
>= 10.1)

> -
>          $res->{allowed_nodes} = [];
>          $res->{not_allowed_nodes} = {};
> 




More information about the pve-devel mailing list