> From: Leon Romanovsky <[email protected]> > Sent: Tuesday, November 11, 2025 5:58 PM > > From: Vivek Kasireddy <[email protected]> > > There is no need to share the main device pointer (struct vfio_device *) > with all the feature functions as they only need the core device > pointer. Therefore, extract the core device pointer once in the > caller (vfio_pci_core_ioctl_feature) and share it instead. > > Signed-off-by: Vivek Kasireddy <[email protected]> > Tested-by: Alex Mastro <[email protected]> > Tested-by: Nicolin Chen <[email protected]> > Signed-off-by: Leon Romanovsky <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
