]> git.proxmox.com Git - mirror_qemu.git/commit
migration: Add zero-copy-send parameter for QMP/HMP for Linux
authorLeonardo Bras <leobras@redhat.com>
Fri, 13 May 2022 06:28:33 +0000 (03:28 -0300)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 16 May 2022 12:56:24 +0000 (13:56 +0100)
commitabb6295b3ace5d17c3a65936913fc346616dbf14
tree8941bfb37a0c529d12a1294378cc3a10fba12959
parent2bc58ffc2926a4efdd03edfb5909861fefc68c3d
migration: Add zero-copy-send parameter for QMP/HMP for Linux

Add property that allows zero-copy migration of memory pages
on the sending side, and also includes a helper function
migrate_use_zero_copy_send() to check if it's enabled.

No code is introduced to actually do the migration, but it allow
future implementations to enable/disable this feature.

On non-Linux builds this parameter is compiled-out.

Signed-off-by: Leonardo Bras <leobras@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20220513062836.965425-5-leobras@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/migration.c
migration/migration.h
migration/socket.c
monitor/hmp-cmds.c
qapi/migration.json