mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
There are several reasons why an operation might fail. Either the running kernel, the PCI function itself, or the hypervisor lacks support for a certain operation. In such cases the kernel returns either with EIO or EOPNOTSUPP. The corresponding warning, however, just says the file couldn't be closed. Display a warning for EIO and EOPNOTSUPP to tell the user about the missing support. Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>