qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] vfio - bind failure : user space recovery


From: Saptarshi Sen
Subject: [Qemu-devel] vfio - bind failure : user space recovery
Date: Fri, 16 May 2014 08:01:18 -0700

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.?

Thanks

reply via email to

[Prev in Thread] Current Thread [Next in Thread]