Home
last modified time | relevance | path

Searched refs:polarization (Results 1 – 7 of 7) sorted by relevance

/qemu/docs/devel/
H A Ds390-cpu-topology.rst122 When a guest requests a modification of the polarization,
126 vertical polarization.
131 entitlement, giving 6 possibilities for vCPU polarization:
141 Perform Topology Function PTF(0) to request an horizontal polarization:
152 "polarization": "horizontal"
156 QAPI query command: query-s390x-cpu-polarization
159 The query command query-s390x-cpu-polarization returns the current
160 CPU polarization of the machine.
161 In this case the guest previously issued a PTF(1) to request vertical polarization:
165 { "execute": "query-s390x-cpu-polarization" }
[all …]
/qemu/hw/s390x/
H A Dcpu-topology.c38 .polarization = S390_CPU_POLARIZATION_HORIZONTAL,
108 CpuS390Polarization polarization; in s390_handle_ptf() local
128 polarization = S390_CPU_POLARIZATION_VERTICAL; in s390_handle_ptf()
131 polarization = S390_CPU_POLARIZATION_HORIZONTAL; in s390_handle_ptf()
134 if (s390_topology.polarization == polarization) { in s390_handle_ptf()
138 s390_topology.polarization = polarization; in s390_handle_ptf()
140 qapi_event_send_cpu_polarization_change(polarization); in s390_handle_ptf()
159 s390_topology.polarization = S390_CPU_POLARIZATION_HORIZONTAL; in s390_topology_reset()
467 info->polarization = s390_topology.polarization; in qmp_query_s390x_cpu_polarization()
/qemu/qapi/
H A Dmachine-target.json457 # Emitted when the guest asks to change the polarization.
461 # polarization.
463 # On horizontal polarization the host is expected to provision all
466 # On vertical polarization the host can provision each vCPU
470 # @polarization: polarization specified by the guest
485 'data': { 'polarization': 'CpuS390Polarization' },
493 # The result of a CPU polarization query.
495 # @polarization: the CPU polarization
500 'data': { 'polarization': 'CpuS390Polarization' },
505 # @query-s390x-cpu-polarization:
[all …]
/qemu/docs/system/s390x/
H A Dcpu-topology.rst23 monitor polarization changes, see ``docs/devel/s390-cpu-topology.rst``.
172 The polarization affects how the CPUs of a shared host are utilized/distributed
174 The guest determines the polarization by using the PTF instruction.
179 The horizontal polarization is the default model on boot and after
180 subsystem reset. When horizontal polarization is in effect all vCPUs should
183 In the vertical polarization model vCPUs are unequal, but overall more resources
189 horizontal polarization.
194 The vertical polarization specifies that the guest's vCPU can get
246 successfully enables vertical polarization by using the PTF instruction.
/qemu/include/hw/s390x/
H A Dcpu-topology.h40 CpuS390Polarization polarization; member
/qemu/target/s390x/kvm/
H A Dstsi-topology.c191 .vertical = s390_topology.polarization == S390_CPU_POLARIZATION_VERTICAL, in s390_topology_from_cpu()
/qemu/tests/avocado/
H A Ds390_topology.py248 def check_polarization(self, polarization): argument