KVM: s390: Provide access to program parameter
authorChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 10 Feb 2014 14:32:19 +0000 (15:32 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 4 Mar 2014 09:41:01 +0000 (10:41 +0100)
commit672550fb682e9935e1a318bf4ac3f611a057dee1
tree447aac13e3254d72344265df22dd288af52d06e8
parent684851a15744355f294ee3fee4ca2e9108382b47
KVM: s390: Provide access to program parameter

commit d208c79d63e06457eef077af770d23dc4cde4d43 (KVM: s390: Enable
the LPP facility for guests) enabled the LPP instruction for guests.
We should expose the program parameter as a pseudo register for
migration/reset etc. Lets also reset this value on initial CPU
reset.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Jason J. Herne <jjherne@linux.vnet.ibm.com>
arch/s390/include/asm/kvm_host.h
arch/s390/include/uapi/asm/kvm.h
arch/s390/kvm/kvm-s390.c