OSDN Git Service

KVM: s390: ignore IBC if zero
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Fri, 10 Jun 2016 07:22:31 +0000 (09:22 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 10 Jun 2016 08:21:38 +0000 (10:21 +0200)
commit0487c44d1e1070b636ba3f3a12494ec456c2d005
treedef18137e935a20c80f413343342463f46400a54
parentaf8c34ce6ae32addda3788d54a7e340cad22516b
KVM: s390: ignore IBC if zero

Looks like we forgot about the special IBC value of 0 meaning "no IBC".
Let's fix that, otherwise it gets rounded up and suddenly an IBC is active
with the lowest possible machine.

Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Fixes: commit 053dd2308d81 ("KVM: s390: force ibc into valid range")
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/kvm-s390.c