diff options
author | Janosch Frank <frankja@linux.ibm.com> | 2018-10-02 10:57:52 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-10-15 12:17:00 +0200 |
commit | b5130dc2224d1881f24224c0590c6d97f2168d6a (patch) | |
tree | 0a92ca1b4e55edcde2f8ff22cebacf02699e1981 /drivers/s390 | |
parent | 9434f5d3bef97c7212ef6d96d7783e3a3a6c1cb5 (diff) | |
download | linux-b5130dc2224d1881f24224c0590c6d97f2168d6a.tar.bz2 |
s390/sthyi: Fix machine name validity indication
When running as a level 3 guest with no host provided sthyi support
sclp_ocf_cpc_name_copy() will only return zeroes. Zeroes are not a
valid group name, so let's not indicate that the group name field is
valid.
Also the group name is not dependent on stsi, let's not return based
on stsi before setting it.
Fixes: 95ca2cb57985 ("KVM: s390: Add sthyi emulation")
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions