KVM: s390: set host program identifier
authorCollin Walling <walling@linux.ibm.com>
Fri, 31 Aug 2018 16:51:19 +0000 (12:51 -0400)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 1 Oct 2018 06:51:42 +0000 (08:51 +0200)
commit67d49d52ae502eaea8858fbcb97e3c2891f78da9
tree72fe89366897e691286803a123d2d1784bb22606
parent7876320f88802b22d4e2daf7eb027dd14175a0f8
KVM: s390: set host program identifier

A host program identifier (HPID) provides information regarding the
underlying host environment. A level-2 (VM) guest will have an HPID
denoting Linux/KVM, which is set during VCPU setup. A level-3 (VM on a
VM) and beyond guest will have an HPID denoting KVM vSIE, which is set
for all shadow control blocks, overriding the original value of the
HPID.

Signed-off-by: Collin Walling <walling@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Message-Id: <1535734279-10204-4-git-send-email-walling@linux.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/vsie.c