Re: [PATCH 1/2] vdpa-dev: get iova range explicitly

2022-12-27 Thread Jason Wang
On Sat, Dec 24, 2022 at 7:49 PM Longpeng(Mike) wrote: > > From: Longpeng > > In commit a585fad26b ("vdpa: request iova_range only once") we remove > GET_IOVA_RANGE form vhost_vdpa_init, the generic vdpa device will start > without iova_range populated, so the device won't work. Let's call >

[PATCH 1/2] vdpa-dev: get iova range explicitly

2022-12-24 Thread Longpeng(Mike)
From: Longpeng In commit a585fad26b ("vdpa: request iova_range only once") we remove GET_IOVA_RANGE form vhost_vdpa_init, the generic vdpa device will start without iova_range populated, so the device won't work. Let's call GET_IOVA_RANGE ioctl explicitly. Fixes: a585fad26b2e6ccc ("vdpa: