CLP immediate commands allow to query the Logical Processor available on the machine and to check for a specific one.
I do not see any reason to not implement it. The check for an immediate command is done on bit 0 of the RRF i3 field so let's implement a new clp_immediate_cmd() to handle CLP immediate commands. AFAIK only the basi processor, with Logical Processor Selector 0, LPS==0, and the PCI processor, LPS==2, are currently available on QEMU. Pierre Morel (1): s390x:clp: implementing CLP immediate commands hw/s390x/s390-pci-inst.c | 33 ++++++++++++++++++++++++++++++++ include/hw/s390x/s390-pci-inst.h | 5 +++++ target/s390x/kvm/kvm.c | 6 ++++++ 3 files changed, 44 insertions(+) -- 2.25.1