lkml.org 
[lkml]   [2020]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH vhost next 09/10] vdpa/mlx5: Add shared memory registration code
From
Date

On 2020/7/16 下午4:28, Eli Cohen wrote:
> On Thu, Jul 16, 2020 at 04:13:21PM +0800, Jason Wang wrote:
>> On 2020/7/16 下午3:23, Eli Cohen wrote:
>>> Add code to support registering guest's memory region for the device.
>>
>> It would be better to use "userspace" memory here since vhost-vDPA
>> could be used by e.g dpdk application on the host in the future.
>>
> How about replaciing "guest's memory" with "address space". It is more
> general and aligns with the with the fact that virio driver can run in
> the guest's kernel.


Probably but note that guest driver is not the only user for this. It
could be either:

1) Guest virtio driver
2) Userspace virtio driver on the host
3) Kernel virtio driver on the host.

Thanks


>

\
 
 \ /
  Last update: 2020-07-16 11:33    [W:1.268 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site