[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZYo6rITis9siz2Av@wuzongyong-alibaba>
Date: Tue, 26 Dec 2023 10:30:04 +0800
From: Wu Zongyong <wuzongyong@...ux.alibaba.com>
To: alex.williamson@...hat.com
Cc: linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org,
wutu.xq2@...ux.alibaba.com
Subject: [Question] Is it must for vfio-mdev parent driver to implement a
pci-compliant configuration r/w interface
Hi,
For vfio, I know there are two method to get region size:
1. VFIO_DEVICE_GET_REGION_INFO ioctl
2. write a value of all 1's to the bar register of vfio-device fd
and then read the value back which is described in pci spec
Now I am curious about is it a must for a vfio-mdev parent driver to
implement the method 2? Or it is just a optional interface.
Thanks,
Wu Zongyong
Powered by blists - more mailing lists