qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 4/8] migration: introduce control_save_page()


From: Xiao Guangrong
Subject: Re: [Qemu-devel] [PATCH 4/8] migration: introduce control_save_page()
Date: Fri, 16 Mar 2018 16:52:40 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0



On 03/15/2018 07:37 PM, Dr. David Alan Gilbert wrote:
* address@hidden (address@hidden) wrote:
From: Xiao Guangrong <address@hidden>

Abstract the common function control_save_page() to cleanup the code,
no logic is changed

Signed-off-by: Xiao Guangrong <address@hidden>

Reviewed-by: Dr. David Alan Gilbert <address@hidden>


Thank you, Dave!

+/*
+ * @pages: the number of pages written by the control path,
+ *        < 0 - error
+ *        > 0 - number of pages written

What about 0 !


The control patch does not support 0 (means duplication). :)

Based on the implementation of qemu_rdma_save_page(), if any data
is properly posted out, @bytes_sent is set to 1, otherwise a error
is detected...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]