migration/postcopy: reduce one operation to calculate fixup_start_addr
commite927a0331757c358a1010c50628613d4da83038e
authorWei Yang <richardw.yang@linux.intel.com>
Wed, 10 Jul 2019 05:08:13 +0000 (10 13:08 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 14 Aug 2019 16:33:14 +0000 (14 17:33 +0100)
treec20c3fa1187e242344d2cc4120760b1710649e80
parenta162b572e9e5a85c440656fe97d7a8b133257379
migration/postcopy: reduce one operation to calculate fixup_start_addr

Use the same way for run_end to calculate run_start, which saves one
operation.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Message-Id: <20190710050814.31344-2-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