]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commitdcc98ea6146e4da27eee2f3e9983500e9618cc23
treeb9c75dc913c7c6f8176013d804e87d2a3f8def40
parent1bb78d161feae5b613c80eb822059eec60d2a538
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