Use DIAG318 to set Control Program Name & Version Codes
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 15 lines · On Wed, 19 Sep 2018 13:09:34 -0400 Collin Walling <[email protected]> wrote:
Quoted 14 lines · Cornelia Huck
Quoted 6 lines · On Fri, 31 Aug 2018 12:51:16 -0400 Collin Walling <[email protected]> wrote:
The CPC and HPID are used for problem diagnosis and allows IBM to identify control program information by answering the following questions:
"What environment is this guest running in?" (CPNC) "What distribution is this guest running?" (CPVC)
"What underlying host environment is this guest running on?" (HPID)Is there also a way for people-who-are-not-IBM to find out what these values have been set to? :) (IOW, is that write-only from a Linux perspective?)
Quoted 8 lines
Quoted 3 lines
I see that for the emulated instruction the values are logged into the debug feature, which seems useful.
Maybe it would help to include a toString-esque macro for these values. Then when the HPID and CPNC get logged we will have something us humans can read? :)
The
distro_idwill have to be deciphered via the registry file. Thoughts?
It's probably fine if this has to be decoded outside of the kernel.
One thing that came to my mind: Would it be useful to be able to introspect a live guest from the hypervisor? For example, being able to get the CPNC/CPVC from a QEMU monitor command? (The debug feature may wrap around so that the info can get lost, I guess?)