>-Original Message-
>From: Cédric Le Goater
>Sent: Tuesday, November 7, 2023 9:38 PM
>Subject: Re: [PATCH v4 27/41] util/char_dev: Add open_cdev()
>
>On 11/2/23 08:12, Zhenzhong Duan wrote:
>> From: Yi Liu
>>
>> /dev/vfio/devices/vfioX may not exis
On 11/2/23 08:12, Zhenzhong Duan wrote:
From: Yi Liu
/dev/vfio/devices/vfioX may not exist. In that case it is still possible
to open /dev/char/$major:$minor instead. Add helper function to abstract
the cdev open.
Suggested-by: Jason Gunthorpe
Signed-off-by: Yi Liu
Signed-off-by: Zhenzhong