summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorWei Yang2019-06-27 04:08:22 +0200
committerDr. David Alan Gilbert2019-08-14 18:33:14 +0200
commita162b572e9e5a85c440656fe97d7a8b133257379 (patch)
treeccd3f32191a89b13d9dacc0418842f7061bd6ef3 /include/exec
parentmigration/postcopy: break the loop when there is no more page to discard (diff)
downloadqemu-a162b572e9e5a85c440656fe97d7a8b133257379.tar.gz
qemu-a162b572e9e5a85c440656fe97d7a8b133257379.tar.xz
qemu-a162b572e9e5a85c440656fe97d7a8b133257379.zip
migration/postcopy: discard_length must not be 0
Since we break the loop when there is no more page to discard, we are sure the following process would find some page to discard. It is not necessary to check it again. Signed-off-by: Wei Yang <richardw.yang@linux.intel.com> Message-Id: <20190627020822.15485-4-richardw.yang@linux.intel.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions