Re: [PATCH v17 06/12] s390x/cpu topology: interception of PTF instruction

2023-03-14 Thread Pierre Morel
I am currently developing tests under avocado to help debugging. And... it helps. There is a bug here in s390_topology_set_cpus_entitlement for dedicated CPUs. On 3/9/23 13:15, Pierre Morel wrote: [...] --- a/hw/s390x/cpu-topology.c +++ b/hw/s390x/cpu-topology.c @@ -87,6 +87,84 @@ static

[PATCH v17 06/12] s390x/cpu topology: interception of PTF instruction

2023-03-09 Thread Pierre Morel
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