On 4/4/25 16:21, John Levon wrote:
On Fri, Apr 04, 2025 at 02:49:40PM +0200, Cédric Le Goater wrote:
If it's possible to set up vfio_user_pci_dev_info and its callbacks without
needing a sub-type then maybe not?
I think the vfio-user-device could inherit directly from vfio-pci
and override the io ops callbacks. It would minimize the changes.
We'd get all the kernel-vfio specific properties then though?
OK. That's what I thought. It was not clear in the diff.
Let's give it a try in the next spin but please remove the
VFIOKernelPCIDevice type. it is not needed.
Thanks,
C.