On 01/15/2018 12:32 PM, Junjie Chen wrote:
When vhost reallocate dev and vq for NUMA enabled case, it doesn't perform
deep copy, which lead to 1) zmbuf list not valid 2) remote memory access.
This patch is to re-initlize the zmbuf list and also do the deep copy.

Signed-off-by: Junjie Chen <junjie.j.c...@intel.com>
---
  lib/librte_vhost/vhost_user.c | 31 +++++++++++++++++++++++++++++++
  1 file changed, 31 insertions(+)


Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com>

Thanks,
Maxime

Reply via email to