summary refs log tree commit diff stats
path: root/scripts/qapi/visit.py
diff options
context:
space:
mode:
authorElena Ufimtseva <elena.ufimtseva@oracle.com>2023-10-11 11:43:58 -0700
committerJuan Quintela <quintela@redhat.com>2023-10-17 09:25:13 +0200
commit1618f5522145b3cab4d9eb154b921417b577dc2c (patch)
tree88993c86468817575e92355757579e37eb861f4e /scripts/qapi/visit.py
parent68b6e000484c6df34d5cd097e5ae94e9612f5df7 (diff)
downloadfocaccia-qemu-1618f5522145b3cab4d9eb154b921417b577dc2c.tar.gz
focaccia-qemu-1618f5522145b3cab4d9eb154b921417b577dc2c.zip
multifd: reset next_packet_len after sending pages
Sometimes multifd sends just sync packet with no pages
(normal_num is 0). In this case the old value is being
preserved and being accounted for while only packet_len
is being transferred.
Reset it to 0 after sending and accounting for.

Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231011184358.97349-5-elena.ufimtseva@oracle.com>
Diffstat (limited to 'scripts/qapi/visit.py')
0 files changed, 0 insertions, 0 deletions