]> git.proxmox.com Git - mirror_qemu.git/commit - migration/socket.c
migration: Move migrate_use_zero_copy_send() to options.c
authorJuan Quintela <quintela@redhat.com>
Wed, 1 Mar 2023 21:17:14 +0000 (22:17 +0100)
committerJuan Quintela <quintela@redhat.com>
Mon, 24 Apr 2023 13:01:46 +0000 (15:01 +0200)
commitb4bc342c766640e0cb8a0b72f71e0ee5545fb790
treeedee1d8f3cba46a6e03c26b1a051174d1c30076b
parent51b07548f7c31793adc178c7460c5f4369733c61
migration: Move migrate_use_zero_copy_send() to options.c

Once that we are there, we rename the function to
migrate_zero_copy_send() to be consistent with all other capabilities.

We can remove the CONFIG_LINUX guard.  We already check that we can't
setup this capability in migrate_caps_check().

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
migration/migration.c
migration/migration.h
migration/multifd.c
migration/options.c
migration/options.h
migration/socket.c