Skip to content

vfio-pci ioctl() wrapper functions #37

@minwooim

Description

@minwooim

Commit d511b65 ("vfio/pci: add vfio_pci_get_irq_info()") added vfio_pci_get_irq_info() API to return the initialized &struct vfio_irq_info instance in ctrl->pci.dev due to struct mismatch between caller and the libvfn library.

We should deprecated the &struct vfio_device_info and &struct vfio_irq_info from the &struct vfio_device, and make an wrapper API to request ioctl to the vfio-pci driver directly rather than returning the cached data structure in libvfn.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions