KVM: s390: VCPU_EVENT cleanup for prefix changes
authorChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 10 Jul 2015 13:27:20 +0000 (15:27 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 29 Jul 2015 09:02:33 +0000 (11:02 +0200)
commit71db35d26dbacd3d165522022ecb757ddc1529ea
tree8004e64773cf8cd1e340ab166e597a80ff2d530c
parent15e8b5daabe37b56e8117957ea1a10e99d380ac4
KVM: s390: VCPU_EVENT cleanup for prefix changes

SPX (SET PREFIX)  and SIGP (Set prefix) can change the prefix
register of a CPU. As sigp set prefix may be handled in user
space (KVM_CAP_S390_USER_SIGP), we would not log the changes
triggered via SIGP in that case. Let's have just one VCPU_EVENT
at the central location that tracks prefix changes.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
arch/s390/kvm/interrupt.c
arch/s390/kvm/kvm-s390.h
arch/s390/kvm/priv.c
arch/s390/kvm/sigp.c