KVM: s390: split SIE state guest prefix field
authorMichael Mueller <mimu@linux.vnet.ibm.com>
Tue, 13 May 2014 14:58:30 +0000 (16:58 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 16 May 2014 12:57:31 +0000 (14:57 +0200)
commitfda902cb8347da121025c4079b9e87748228a27e
treeb5cbcce14afbe2da194e4b3cb8f1594cea800fb5
parent570126d370e9c018e603d63272ebcf7340efc05b
KVM: s390: split SIE state guest prefix field

This patch splits the SIE state guest prefix at offset 4
into a prefix bit field. Additionally it provides the
access functions:

 - kvm_s390_get_prefix()
 - kvm_s390_set_prefix()

to access the prefix per vcpu.

Signed-off-by: Michael Mueller <mimu@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/diag.c
arch/s390/kvm/gaccess.h
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/kvm-s390.h
arch/s390/kvm/priv.c