KVM: s390: vsie: support setting the ibc
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Fri, 19 Feb 2016 09:11:24 +0000 (10:11 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 21 Jun 2016 07:43:34 +0000 (09:43 +0200)
commit3573602b20b061030c34b04f206b781857f155df
tree8a5a1fc849a89f6f08c7448578f195594eef3108
parent06d68a6c85d95515533663ff002d06753fd772aa
KVM: s390: vsie: support setting the ibc

As soon as we forward an ibc to guest 2 (indicated via
kvm->arch.model.ibc), he can also use it for guest 3. Let's properly round
the ibc up/down, so we avoid any potential validity icpts from the
underlying SIE, if it doesn't simply round the values.

Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/vsie.c