I am using a driver from user-space using vfio.
During intensive testing, when my application crashes.
I try to re-run the same, when I get a bind-failure.
Error code, is E_BUSY.
The point of error is when I try to open a group
ret = open("/dev/vfio/xx",O_RDWR)
I traced down what could be the reason of this from driver pers
is that the driver does not allow multiple instances to be opened.
How to recover if user-space code using vfio crashes. Since I lose the handle
to the group I do not know how can I rebind to the vfio group on the next-run.
Is the only option remains to reboot the machine.?