Feilong is a open source z/VM cloud connector project under the Open Mainframe Project umbrella that will accelerate the z/VM adoption, extending its ecosystem and its user experience. It provides a set of APIs to operate z/VM including guest, image, network, volume etc.
Problem: When CHPID virtualization is enabled, lschp command does not output the real PCHID info.
This fix change the method to get PCHID:
Check whether chpid virtualization is enabled with following cmd:
If off, use original cmd
lschp
to get the PCHID.otherwise, use
vmcp q chpid xx pchid
to get the PCHID.