mbox series

[v2,0/2] s390x: KVM: CPU Topology

Message ID 1626973353-17446-1-git-send-email-pmorel@linux.ibm.com (mailing list archive)
Headers show
Series s390x: KVM: CPU Topology | expand

Message

Pierre Morel July 22, 2021, 5:02 p.m. UTC
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(-)