KVM: s390: guestdbg: filter i-fetch events on icpts
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Tue, 24 May 2016 10:33:52 +0000 (12:33 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 30 Jan 2017 10:19:16 +0000 (11:19 +0100)
commitf41711788c9c281a61c8cf3222dca8a0e74a4fb3
tree10ac09cec8ad2d7121a5698741500558ab8d92d8
parent2f87d942be9d0f86e44fbcbd473264c26c7f1809
KVM: s390: guestdbg: filter i-fetch events on icpts

We already filter PER events reported via icpt code 8. For icpt code
4 and 56, this is still missing.

So let's properly detect if we have a debugging event and if we have to
inject a PER i-fetch event into the guest at all.

Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: David Hildenbrand <david@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/guestdbg.c