mbox series

[0/2] migration/postcopy: cleanup function postcopy_chunk_hostpages_pass

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

Message

Wei Yang July 10, 2019, 5:08 a.m. UTC
Here are two trivial function cleanup.

BTW, I didn't test them since TPS == HPS. How could I setup a guest with
TPS != HPS?

Wei Yang (2):
  migration/postcopy: reduce one operation to calculate fixup_start_addr
  migration/postcopy: do_fixup is true when host_offset is non-zero

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

Comments

Dr. David Alan Gilbert Aug. 7, 2019, 5:25 p.m. UTC | #1
* Wei Yang (richardw.yang@linux.intel.com) wrote:
> Here are two trivial function cleanup.

Queued

> BTW, I didn't test them since TPS == HPS. How could I setup a guest with
> TPS != HPS?
> 
> Wei Yang (2):
>   migration/postcopy: reduce one operation to calculate fixup_start_addr
>   migration/postcopy: do_fixup is true when host_offset is non-zero
> 
>  migration/ram.c | 15 +++++++--------
>  1 file changed, 7 insertions(+), 8 deletions(-)
> 
> -- 
> 2.17.1
> 
> 
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK