On 03/15/2018 07:37 PM, Dr. David Alan Gilbert wrote:
* [email protected] ([email protected]) wrote:
From: Xiao Guangrong <[email protected]>

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

Signed-off-by: Xiao Guangrong <[email protected]>

Reviewed-by: Dr. David Alan Gilbert <[email protected]>


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