Re: [PATCH] vhost: fix offset while mmaping log base address

2024-09-19 Thread Maxime Coquelin
On 7/8/24 08:57, BillXiang wrote: From: BillXiang For sanity the offset should be the last parameter of mmap. Fixes: fbc4d24 ("vhost: fix offset while mmaping log base address") Signed-off-by: BillXiang --- lib/vhost/vhost_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

Re: [PATCH] vhost: fix offset while mmaping log base address

2024-09-19 Thread Maxime Coquelin
On 7/8/24 08:57, BillXiang wrote: From: BillXiang For sanity the offset should be the last parameter of mmap. Fixes: fbc4d24 ("vhost: fix offset while mmaping log base address") Signed-off-by: BillXiang --- lib/vhost/vhost_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] vhost: fix offset while mmaping log base address

2024-07-09 Thread BillXiang
From: BillXiang > From: "Chenbo Xia" > Date: Tue, Jul 9, 2024, 20:42 > Subject: Re: [PATCH] vhost: fix offset while mmaping log base address > To: "BillXiang" > Cc: "Maxime Coquelin", "Jianfeng > Tan", "Tomasz Kulasek"

Re: [PATCH] vhost: fix offset while mmaping log base address

2024-07-09 Thread Chenbo Xia
> On Jul 8, 2024, at 14:57, BillXiang wrote: > > External email: Use caution opening links or attachments > > > From: BillXiang > > For sanity the offset should be the last parameter of mmap. > > Fixes: fbc4d24 ("vhost: fix offset while mmaping log base address") The commit id length shou

[PATCH] vhost: fix offset while mmaping log base address

2024-07-08 Thread BillXiang
From: BillXiang For sanity the offset should be the last parameter of mmap. Fixes: fbc4d24 ("vhost: fix offset while mmaping log base address") Signed-off-by: BillXiang --- lib/vhost/vhost_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vhost/vhost_user.c b/lib/v

Re: [dpdk-dev] [PATCH] vhost: fix offset while mmaping log base address

2018-02-19 Thread Maxime Coquelin
On 02/08/2018 05:59 PM, Tomasz Kulasek wrote: QEMU always set offset to 0 but for sanity we should take the offset into account. Fixes: 54f9e32305d4 ("vhost: handle dirty pages logging request") Cc: yuanhan@linux.intel.com Cc: sta...@dpdk.org Signed-off-by: Pawel Wodkowski Signed-off-by:

Re: [dpdk-dev] [PATCH] vhost: fix offset while mmaping log base address

2018-02-08 Thread Tan, Jianfeng
v] [PATCH] vhost: fix offset while mmaping log base > address > > QEMU always set offset to 0 but for sanity we should take the offset > into account. > > Fixes: 54f9e32305d4 ("vhost: handle dirty pages logging request") > Cc: yuanhan@linux.intel.com > Cc: sta...

[dpdk-dev] [PATCH] vhost: fix offset while mmaping log base address

2018-02-08 Thread Tomasz Kulasek
QEMU always set offset to 0 but for sanity we should take the offset into account. Fixes: 54f9e32305d4 ("vhost: handle dirty pages logging request") Cc: yuanhan@linux.intel.com Cc: sta...@dpdk.org Signed-off-by: Pawel Wodkowski Signed-off-by: Tomasz Kulasek --- lib/librte_vhost/vhost_user.