Let's make it architecture compliant and a bit more readable. Each non implemented diag 308 supcode should result in a specification exception. Operating systems use the exceptions to query which codes are available.
Janosch Frank (2): s390x: Diag308 move common parameter checking into function s390x: Return specification exception for unimplemented diag 308 subcodes target/s390x/diag.c | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) -- 2.14.3