]> git.ipfire.org Git - thirdparty/qemu.git/commit
migration/multifd: Fix error message in multifd_recv_initial_packet()
authorAvihai Horon <avihaih@nvidia.com>
Sun, 31 Dec 2023 09:30:10 +0000 (11:30 +0200)
committerPeter Xu <peterx@redhat.com>
Thu, 4 Jan 2024 01:52:42 +0000 (09:52 +0800)
commitc77b40859a5201f01b44dc475258405e289c431f
treedffc4084ddb10652def009fccec4db8641650c39
parentb0cf3bfc69752969314f9e88d68f75f40fcdf274
migration/multifd: Fix error message in multifd_recv_initial_packet()

In multifd_recv_initial_packet(), if MultiFDInit_t->id is greater than
the configured number of multifd channels, an irrelevant error message
about multifd version is printed.

Change the error message to a relevant one about the channel id.

Signed-off-by: Avihai Horon <avihaih@nvidia.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20231231093016.14204-6-avihaih@nvidia.com
Signed-off-by: Peter Xu <peterx@redhat.com>
migration/multifd.c