Re: [PATCH vhost next 09/10] vdpa/mlx5: Add shared memory registration code
From: Jason Wang <jasowang@redhat.com>
Date: 2020-07-16 09:32:55
Also in:
lkml
From: Jason Wang <jasowang@redhat.com>
Date: 2020-07-16 09:32:55
Also in:
lkml
On 2020/7/16 下午4:28, Eli Cohen wrote:
On Thu, Jul 16, 2020 at 04:13:21PM +0800, Jason Wang wrote:quoted
On 2020/7/16 下午3:23, Eli Cohen wrote:quoted
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