• J
    KVM: s390: Add sthyi emulation · 95ca2cb5
    Janosch Frank 提交于
    Store Hypervisor Information is an emulated z/VM instruction that
    provides a guest with basic information about the layers it is running
    on. This includes information about the cpu configuration of both the
    machine and the lpar, as well as their names, machine model and
    machine type. This information enables an application to determine the
    maximum capacity of CPs and IFLs available to software.
    
    The instruction is available whenever the facility bit 74 is set,
    otherwise executing it results in an operation exception.
    
    It is important to check the validity flags in the sections before
    using data from any structure member. It is not guaranteed that all
    members will be valid on all machines / machine configurations.
    Signed-off-by: NJanosch Frank <frankja@linux.vnet.ibm.com>
    Reviewed-by: NDavid Hildenbrand <dahi@linux.vnet.ibm.com>
    Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
    95ca2cb5
kvm-s390.c 77.5 KB