Re: [PATCH] hw/ppc/spapr_hcall: Return host mitigation characteristics in KVM mode

2025-04-15 Thread Gautam Menghani
On Thu, Apr 10, 2025 at 02:46:47PM +0200, Philippe Mathieu-Daudé wrote: > Hi Gautam, > > On 10/4/25 12:43, Gautam Menghani wrote: > > Currently, on a P10 KVM guest, the mitigations seen in the output of > > "lscpu" command are different from the host. The reason for this > > behaviour is that when

[PATCH] hw/ppc/spapr_hcall: Return host mitigation characteristics in KVM mode

2025-04-10 Thread Gautam Menghani
Currently, on a P10 KVM guest, the mitigations seen in the output of "lscpu" command are different from the host. The reason for this behaviour is that when the KVM guest makes the "h_get_cpu_characteristics" hcall, QEMU does not consider the data it received from the host via the KVM_PPC_GET_CPU_C

Re: [PATCH] hw/ppc/spapr_hcall: Return host mitigation characteristics in KVM mode

2025-04-10 Thread Philippe Mathieu-Daudé
Hi Gautam, On 10/4/25 12:43, Gautam Menghani wrote: Currently, on a P10 KVM guest, the mitigations seen in the output of "lscpu" command are different from the host. The reason for this behaviour is that when the KVM guest makes the "h_get_cpu_characteristics" hcall, QEMU does not consider the d