]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: fixup I/O interrupt traces
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 7 Jun 2016 07:37:17 +0000 (09:37 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 10 Jun 2016 10:07:26 +0000 (12:07 +0200)
commitdab3875cbc866a6ce374a0c2b2cb4942e1c19317
treeb9c75dc913c7c6f8176013d804e87d2a3f8def40
parentabc6ab7cc83c300d468eb69efcc3e5b6129fffba
KVM: s390: fixup I/O interrupt traces

We currently have two issues with the I/O  interrupt injection logging:
1. All QEMU versions up to 2.6 have a wrong encoding of device numbers
etc for the I/O interrupt type, so the inject VM_EVENT will have wrong
data. Let's fix this by using the interrupt parameters and not the
interrupt type number.
2. We only log in kvm_s390_inject_vm, but not when coming from
kvm_s390_reinject_io_int or from flic. Let's move the logging to the
common __inject_io function.

We also enhance the logging for delivery to match the data.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
arch/s390/kvm/interrupt.c