------- Comment From <email address hidden> 2020-01-21 11:04 EDT-------
Following git-commits need to be applied:
For DIAG 0x318 instruction execution
commit 4ad78b8651aacf26b3ab6d1e784952eb70469c43
s390/setup: set control program code via diag 318
The s390x diagnose 318 instruction sets the control program name code (CPNC)
and control program version code (CPVC) to provide useful information
regarding the OS during debugging. The CPNC is explicitly set to 4 to
indicate a Linux/KVM environment.
The CPVC is a 7-byte value containing:
- 3-byte Linux version code, currently set to 0
- 3-byte unique value, currently set to 0
- 1-byte trailing null
Additionally, there is the HPID component to this item. The former git-commit I provided (for DIAG 0x318) is the more important piece, however if we can include this patch as well that would be great (if it isn't already included):
commit 67d49d52ae502eaea8858fbcb97e3c2891f78da9
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.
------- Comment From <email address hidden> 2020-01-21 11:04 EDT-------
Following git-commits need to be applied:
For DIAG 0x318 instruction execution 6b3ab6d1e784952 eb70469c43
commit 4ad78b8651aacf2
s390/setup: set control program code via diag 318
The s390x diagnose 318 instruction sets the control program name code (CPNC)
and control program version code (CPVC) to provide useful information
regarding the OS during debugging. The CPNC is explicitly set to 4 to
indicate a Linux/KVM environment.
The CPVC is a 7-byte value containing:
- 3-byte Linux version code, currently set to 0
- 3-byte unique value, currently set to 0
- 1-byte trailing null
Additionally, there is the HPID component to this item. The former git-commit I provided (for DIAG 0x318) is the more important piece, however if we can include this patch as well that would be great (if it isn't already included):
commit 67d49d52ae502ea ea8858fbcb97e3c 2891f78da9
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.