OSDN Git Service

multifd: Fix flush of zero copy page send request
authorZhenzhong Duan <zhenzhong.duan@intel.com>
Mon, 17 Oct 2022 07:53:51 +0000 (15:53 +0800)
committerJuan Quintela <quintela@redhat.com>
Mon, 6 Feb 2023 18:22:57 +0000 (19:22 +0100)
commitebfc57871506b3fe36cc41f69ee3ad31a34afd63
treea71dfd0d9d95a873b30be7db2994a93a079ddccc
parentddbe628c97c3a2d211c6d96383cb4063ac3ad0f9
multifd: Fix flush of zero copy page send request

Make IO channel flush call after the inflight request has been drained
in multifd thread, or else we may missed to flush the inflight request.

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
configs/devices/x86_64-softmmu/x86_64-quintela-devices.mak [new file with mode: 0644]
configs/devices/x86_64-softmmu/x86_64-quintela2-devices.mak [new file with mode: 0644]
migration/multifd.c
migration/multifd.c.orig [new file with mode: 0644]