aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/qemu_test/linuxkernel.py
diff options
context:
space:
mode:
authorFabiano Rosas <farosas@suse.de>2024-08-28 11:56:47 -0300
committerFabiano Rosas <farosas@suse.de>2024-09-03 16:24:36 -0300
commit81b0ed8ad81a9e454ffb77ce028e5081b8b3022f (patch)
tree4eaa6dafd5a884d1c3d42edabdf3aa77bb788a32 /tests/functional/qemu_test/linuxkernel.py
parent308d165c771b362efd6d3290b9b5bac0a1801563 (diff)
downloadqemu-81b0ed8ad81a9e454ffb77ce028e5081b8b3022f.zip
qemu-81b0ed8ad81a9e454ffb77ce028e5081b8b3022f.tar.gz
qemu-81b0ed8ad81a9e454ffb77ce028e5081b8b3022f.tar.bz2
migration/multifd: Stop changing the packet on recv side
As observed by Philippe, the multifd_ram_unfill_packet() function currently leaves the MultiFDPacket structure with mixed endianness. This is harmless, but ultimately not very clean. Stop touching the received packet and do the necessary work using stack variables instead. While here tweak the error strings and fix the space before semicolons. Also remove the "100 times bigger" comment because it's just one possible explanation for a size mismatch and it doesn't even match the code. CC: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'tests/functional/qemu_test/linuxkernel.py')
0 files changed, 0 insertions, 0 deletions