Re: [PATCH] kvm/i386: fix a check that ensures we are running on host intel CPU

2024-09-03 Thread Ani Sinha
> On 3 Sep 2024, at 1:13 PM, Paolo Bonzini wrote: > > On 9/3/24 09:19, Ani Sinha wrote: >> is_host_cpu_intel() returns TRUE if the host cpu in Intel based. RAPL needs >> Intel host cpus. If the host CPU is not Intel baseed, we should report error. >> Fix the check accordingly. >> Signed-off-by

Re: [PATCH] kvm/i386: fix a check that ensures we are running on host intel CPU

2024-09-03 Thread Paolo Bonzini
On 9/3/24 09:19, Ani Sinha wrote: is_host_cpu_intel() returns TRUE if the host cpu in Intel based. RAPL needs Intel host cpus. If the host CPU is not Intel baseed, we should report error. Fix the check accordingly. Signed-off-by: Ani Sinha It's the function that is returning the incorrect val