multifd: Only send pages when packet are not empty
authorJuan Quintela <quintela@redhat.com>
Fri, 4 Jan 2019 18:12:35 +0000 (19:12 +0100)
committerJuan Quintela <quintela@redhat.com>
Mon, 25 Mar 2019 17:13:37 +0000 (18:13 +0100)
commitad24c7cb595e7ff3df17f7db790e2a7dfaf8040c
treeb4b279e6a9a62b686595af998914604deb9cf1f5
parent50ccc488b0d4c3b8e2790c18bcd7329fc609a1c6
multifd: Only send pages when packet are not empty

We send packages without pages sometimes for sysnchronizanion.  The
iov functions do the right thing, but we will be changing this code in
future patches.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/ram.c