Re: [dpdk-dev] [PATCH] vhost: fix realloc failure

2018-02-20 Thread Maxime Coquelin
On 02/09/2018 06:19 PM, Tomasz Kulasek wrote: When reallocation of guest pages fails, vhost_user_set_mem_table() also should fail. Fixes: e246896178e6 ("vhost: get guest/host physical address mappings") Cc:yuanhan@linux.intel.com Cc:sta...@dpdk.org Signed-off-by: Ziye Yang Signed-off-by:

Re: [dpdk-dev] [PATCH] vhost: fix realloc failure

2018-02-10 Thread Tan, Jianfeng
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Tomasz Kulasek > Sent: Saturday, February 10, 2018 1:19 AM > To: y...@fridaylinux.org > Cc: dev@dpdk.org; yuanhan@linux.intel.com; sta...@dpdk.org; Yang, > Ziye > Subject: [dpdk-de

[dpdk-dev] [PATCH] vhost: fix realloc failure

2018-02-09 Thread Tomasz Kulasek
When reallocation of guest pages fails, vhost_user_set_mem_table() also should fail. Fixes: e246896178e6 ("vhost: get guest/host physical address mappings") Cc: yuanhan@linux.intel.com Cc: sta...@dpdk.org Signed-off-by: Ziye Yang Signed-off-by: Tomasz Kulasek --- lib/librte_vhost/vhost_use