To provide Topology information to the guest through the STSI instruction, we need to forward STSI with Function Code 15 to QEMU which will take care to provide the right information to the guest. To let the guest use the PTF instruction and ask if a topology change occured we add a new KVM capability to enable the topology facility. Pierre Morel (2): s390x: KVM: accept STSI for CPU topology information s390:kvm: Topology expose TOPOLOGY facility arch/s390/kvm/kvm-s390.c | 1 + arch/s390/kvm/priv.c | 7 ++++++- include/uapi/linux/kvm.h | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) -- 2.25.1 Changelog: - Add a KVM capability to let QEMU know we support PTF and STSI 15 (David) - check KVM facility 11 before accepting STSI fc 15 (David) - handle all we can in userland (David) - add tracing to STSI fc 15 (Connie)