Re: [dpdk-dev] [PATCH] vhost: fix vhost user virtqueue not accessable

2019-10-29 Thread Adrian Moreno
On 10/28/19 3:13 AM, Liu, Yong wrote: > > >> -Original Message- >> From: Adrian Moreno [mailto:amore...@redhat.com] >> Sent: Friday, October 25, 2019 8:21 PM >> To: Liu, Yong ; maxime.coque...@redhat.com; Bie, Tiwei >> ; Wang, Zhihong >> Cc: dev@dpdk.org >> Subject: Re: [PATCH] vhost: fi

Re: [dpdk-dev] [PATCH] vhost: fix vhost user virtqueue not accessable

2019-10-27 Thread Liu, Yong
> -Original Message- > From: Adrian Moreno [mailto:amore...@redhat.com] > Sent: Friday, October 25, 2019 8:21 PM > To: Liu, Yong ; maxime.coque...@redhat.com; Bie, Tiwei > ; Wang, Zhihong > Cc: dev@dpdk.org > Subject: Re: [PATCH] vhost: fix vhost user virtqueue not accessable > > Hi Mar

Re: [dpdk-dev] [PATCH] vhost: fix vhost user virtqueue not accessable

2019-10-25 Thread Adrian Moreno
Hi Marvin, On 10/25/19 6:20 PM, Marvin Liu wrote: > Log feature is disabled in vhost user, so that log address was invalid > when checking. Add feature bit check can skip useless address check. > Just so I understand, what conditions is the log address invalid? > Fixes: 04cfc7fdbfca ("vhost: tran

[dpdk-dev] [PATCH] vhost: fix vhost user virtqueue not accessable

2019-10-25 Thread Marvin Liu
Log feature is disabled in vhost user, so that log address was invalid when checking. Add feature bit check can skip useless address check. Fixes: 04cfc7fdbfca ("vhost: translate incoming log address to gpa") Signed-off-by: Marvin Liu --- lib/librte_vhost/vhost_user.c | 16 +--- 1 f