mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
The AP queue states within a SE guest may have a so called asynchronous error pending. When that's the case, the sysfs read of some AP queue attributes fails with EIO. lszcrypt was not really prepared for this and instead showed some incorrect output. This patch fixes this oddity and now lszcrypt -c shows "error" in case of ap_bound or ap_associate read errors and lszcrypt -V shows also "error" if the BS bits could not get fetched. Signed-off-by: Harald Freudenberger <freude@linux.ibm.com> Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Reviewed-by: Holger Dengler <dengler@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>