KVM: s390: deliver program irq parameters and use correct ilc
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Mon, 3 Mar 2014 09:55:13 +0000 (10:55 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 22 Apr 2014 11:24:49 +0000 (13:24 +0200)
commit8712836b30cef5d49bc3bb8bc3da88a40e11e574
tree592631e765885ec2c3a10bfdaa8aaf087b3297ac
parent439716a5cab30e930bd1ec0f8fd66cbbaa319250
KVM: s390: deliver program irq parameters and use correct ilc

When a program interrupt was to be delivered until now, no program interrupt
parameters were stored in the low-core of the target vcpu.

This patch enables the delivery of those program interrupt parameters, takes
care of concurrent PER events which can be injected in addition to any program
interrupt and uses the correct instruction length code (depending on the
interception code) for the injection of program interrupts.

Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/interrupt.c