From: Harpal Singh
This patch set will provide vfio hotplug removal feature. It include 3 patches:-
1) First patch adds the vfio unmap resource feature, which will release the
resources allocated during initialization phase.
2) Second patch adds vfio req interrupt support, which will help vfio
From: Harpal Singh
This patch will add a new API i.e. pci_vfio_unmap_resource.
It will basically cleanup all the vfio resources allocated for a device.
cleanup includes :-
1) removing vfio_res from vfio_res_list
2) unmap mapped bars
3) close device fd
4) close group fd
5) free vfio_res
Signed
From: Harpal Singh
This patch will add support for req interrupt which will be used
by vfio kernel module to request user space to release allocated resources.
It will provide addtional mechanism in user space to get system notification
about when to release vfio resources.
Signed-off-by
From: Harpal Singh
Added a new hotplug test program: it has been added to test hot removal of a
vfio device.
1) This test will first deregister all the pci drivers and register its own
driver.
2) Then it scan the bus and call probe for all the scanned devices whose vendor
id and device id is
4 matches
Mail list logo