summary refs log tree commit diff stats
path: root/hw/core/qdev-hotplug.c
diff options
context:
space:
mode:
authorPierre Morel <pmorel@linux.ibm.com>2023-10-16 20:39:11 +0200
committerThomas Huth <thuth@redhat.com>2023-10-20 07:16:53 +0200
commitaf37bad52e7c216c044f919d6254c77be0eacbc6 (patch)
tree1433b37a9ee3822f181720969169bb67bd16a0bd /hw/core/qdev-hotplug.c
parent3d6e75f4df67980479cc0912b842202f2093aeeb (diff)
downloadfocaccia-qemu-af37bad52e7c216c044f919d6254c77be0eacbc6.tar.gz
focaccia-qemu-af37bad52e7c216c044f919d6254c77be0eacbc6.zip
s390x/cpu topology: interception of PTF instruction
When the host supports the CPU topology facility, the PTF
instruction with function code 2 is interpreted by the SIE,
provided that the userland hypervisor activates the interpretation
by using the KVM_CAP_S390_CPU_TOPOLOGY KVM extension.

The PTF instructions with function code 0 and 1 are intercepted
and must be emulated by the userland hypervisor.

During RESET all CPU of the configuration are placed in
horizontal polarity.

Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
Reviewed-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Co-developed-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Signed-off-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Message-ID: <20231016183925.2384704-8-nsg@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/core/qdev-hotplug.c')
0 files changed, 0 insertions, 0 deletions