Thread (31 messages) 31 messages, 5 authors, 2021-08-26

Re: [PATCH V4 13/13] vfio/pci: Introduce vfio_pci_core.ko

flat view

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-08-26 09:15:28
Also in: kvm, linux-kbuild, linux-pci, linux-s390

On Wed, Aug 25, 2021 at 04:51:39PM +0300, Yishai Hadas wrote:
From: Max Gurtovoy <mgurtovoy@nvidia.com>

Now that vfio_pci has been split into two source modules, one focusing on
the "struct pci_driver" (vfio_pci.c) and a toolbox library of code
(vfio_pci_core.c), complete the split and move them into two different
kernel modules.

As before vfio_pci.ko continues to present the same interface under sysfs
and this change will have no functional impact.

Splitting into another module and adding exports allows creating new HW
specific VFIO PCI drivers that can implement device specific
functionality, such as VFIO migration interfaces or specialized device
requirements.

Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help