Re: [PATCH] vhost-user: Refractor vhost_user_set_mem_table Functions

2019-11-06 Thread no-reply
Patchew URL: https://patchew.org/QEMU/1572477125-25344-2-git-send-email-raphael.norw...@nutanix.com/ Hi, This series seems to have some coding style problems. See output below for more information: Subject: [PATCH] vhost-user: Refractor vhost_user_set_mem_table Functions Type: series Message

[PATCH] vhost-user: Refractor vhost_user_set_mem_table Functions

2019-11-05 Thread Raphael Norwitz
vhost_user_set_mem_table() and vhost_user_set_mem_table_postcopy() have gotten convoluted, and have some identical code. This change moves the logic populating the VhostUserMemory struct and fds array from vhost_user_set_mem_table() and vhost_user_set_mem_table_postcopy() to a new function, vhost_