mbox series

[0/2] migration/postcopy: simplify postcopy_chunk_hostpages_pass

Message ID 20190806004648.8659-1-richardw.yang@linux.intel.com (mailing list archive)
Headers show
Series migration/postcopy: simplify postcopy_chunk_hostpages_pass | expand

Message

Wei Yang Aug. 6, 2019, 12:46 a.m. UTC
When looking into function postcopy_chunk_hostpages_pass(), we could use
alignment calculation to simplify it.

Wei Yang (2):
  migration/postcopy: simplify calculation of run_start and
    fixup_start_addr
  migration/postcopy: use QEMU_IS_ALIGNED to replace host_offset

 migration/ram.c | 37 +++++++------------------------------
 1 file changed, 7 insertions(+), 30 deletions(-)

Comments

Dr. David Alan Gilbert Aug. 7, 2019, 6:43 p.m. UTC | #1
* Wei Yang (richardw.yang@linux.intel.com) wrote:
> When looking into function postcopy_chunk_hostpages_pass(), we could use
> alignment calculation to simplify it.
> 
> Wei Yang (2):
>   migration/postcopy: simplify calculation of run_start and
>     fixup_start_addr
>   migration/postcopy: use QEMU_IS_ALIGNED to replace host_offset
> 
>  migration/ram.c | 37 +++++++------------------------------
>  1 file changed, 7 insertions(+), 30 deletions(-)

Queued

> -- 
> 2.17.1
> 
> 
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK