Re: [RFC PATCH 0/3] Use DIAG318 to set Control Program Name & Version Codes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 19 Sep 2018 13:09:34 -0400
Collin Walling <walling@xxxxxxxxxxxxx> wrote:

> On 09/19/2018 05:30 AM, Cornelia Huck wrote:
> > On Fri, 31 Aug 2018 12:51:16 -0400
> > Collin Walling <walling@xxxxxxxxxxxxx> 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?)
> > 
> > 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_id will 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?)



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux