]> git.proxmox.com Git - mirror_qemu.git/commit
migration/postcopy: do_fixup is true when host_offset is non-zero
authorWei Yang <richardw.yang@linux.intel.com>
Wed, 10 Jul 2019 05:08:14 +0000 (13:08 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 14 Aug 2019 16:33:14 +0000 (17:33 +0100)
commit8996604fe6b9e6646883f70e737b9440e7563c87
treed1749e42a5b4850128f834f1b145bb3985322785
parente927a0331757c358a1010c50628613d4da83038e
migration/postcopy: do_fixup is true when host_offset is non-zero

This means it is not necessary to spare an extra variable to hold this
condition. Use host_offset directly is fine.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Message-Id: <20190710050814.31344-3-richardw.yang@linux.intel.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/ram.c