diff options
author | Yi Liu <[email protected]> | 2023-07-18 03:55:42 -0700 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2023-07-25 10:18:13 -0600 |
commit | 71791b9246c7339f0d151e853546acc653522e2f (patch) | |
tree | 17ceb6e1a31b0924b07dbb5cb53c210d2e0c907e /net/lapb/lapb_timer.c | |
parent | b56b7aabcf3cfde57559d3ab06567b94f348f13c (diff) |
vfio/pci: Allow passing zero-length fd array in VFIO_DEVICE_PCI_HOT_RESET
This is the way user to invoke hot-reset for the devices opened by cdev
interface. User should check the flag VFIO_PCI_HOT_RESET_FLAG_DEV_ID_OWNED
in the output of VFIO_DEVICE_GET_PCI_HOT_RESET_INFO ioctl before doing
hot-reset for cdev devices.
Suggested-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Tested-by: Yanting Jiang <[email protected]>
Tested-by: Zhenzhong Duan <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Yi Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions