RE: [RFC 08/27] vhost: add offset field to IOTLB entries

2023-04-24 Thread Xia, Chenbo
.@redhat.com; > amore...@redhat.com > Cc: Maxime Coquelin > Subject: [RFC 08/27] vhost: add offset field to IOTLB entries > > This patch is a preliminary work to prepare for VDUSE > support, for which we need to keep track of the mmaped base > address and offset in order to be

[RFC 08/27] vhost: add offset field to IOTLB entries

2023-03-31 Thread Maxime Coquelin
This patch is a preliminary work to prepare for VDUSE support, for which we need to keep track of the mmaped base address and offset in order to be able to unmap it later when IOTLB entry is invalidated. Signed-off-by: Maxime Coquelin --- lib/vhost/iotlb.c | 30 ++---