commit | ca3cda6fcf1e922213a0cc58e708ffb999151db3 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <stephen@networkplumber.org> | Tue Jan 09 12:57:32 2018 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 10 17:40:53 2018 +0100 |
tree | 9c05b3efcc9058c9e26116711e034253996dea6b | |
parent | 06028d15177a1b406b7b075ea47c6a352732f23a [diff] |
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>