uio_hv_generic: add rescind support

When host rescinds the device, the UIO driver will clear the interrupt
state and notify application. The read (or write) on the interrupt FD
will then fail with -EIO. This is simpler than adding lots extra uevent
stuff inside UIO.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Stephen Hemminger 2018-01-09 12:57:32 -08:00 • committed by Greg Kroah-Hartman
commit ca3cda6fcf
2 changed files with 23 additions and 0 deletions