>-Original Message-
>From: Cédric Le Goater
>Sent: Monday, October 30, 2023 10:54 PM
>Subject: Re: [PATCH v3 25/37] util/char_dev: Add open_cdev()
>
>On 10/26/23 12:30, Zhenzhong Duan wrote:
>> From: Yi Liu
>>
>> /dev/vfio/devices/vfioX may not exis
On 10/26/23 12:30, 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