mbox series

[0/2] migration/qemu-file: cleanup and refine qemu-file

Message ID 20190731144225.3784-1-richardw.yang@linux.intel.com
Headers show
Series migration/qemu-file: cleanup and refine qemu-file | expand

Message

Wei Yang July 31, 2019, 2:42 p.m. UTC
Two cleanup:

Patch #1 make code consistent on calling add_to_iovec
Patch #2 refine the code to handle the case when buf already flushed

Wei Yang (2):
  migration/qemu-file: remove check on writev_buffer in
    qemu_put_compression_data
  migration/qemu-file: fix potential buf waste for extra buf_index
    adjustment

 migration/qemu-file.c | 44 +++++++++++++++++++++++++++----------------
 1 file changed, 28 insertions(+), 16 deletions(-)

Comments

Wei Yang Aug. 19, 2019, 2:36 a.m. UTC | #1
On Wed, Jul 31, 2019 at 10:42:23PM +0800, Wei Yang wrote:
>Two cleanup:
>
>Patch #1 make code consistent on calling add_to_iovec
>Patch #2 refine the code to handle the case when buf already flushed
>

Ping~

>Wei Yang (2):
>  migration/qemu-file: remove check on writev_buffer in
>    qemu_put_compression_data
>  migration/qemu-file: fix potential buf waste for extra buf_index
>    adjustment
>
> migration/qemu-file.c | 44 +++++++++++++++++++++++++++----------------
> 1 file changed, 28 insertions(+), 16 deletions(-)
>
>-- 
>2.17.1