[PATCH] virhostcpu: fix getting CPU freq for Apple Silicon

Andrea Bolognani abologna at redhat.com
Thu Feb 10 08:32:09 UTC 2022


[re-added libvir-list]

On Thu, Feb 10, 2022 at 05:44:10AM +0800, Menci wrote:
> Since it's fine to report "unknown" cpu frequency on ARM. I strongly agree
> to let it be "unknown". M1 have different frequency ranges for performance
> cores and efficiency cores so it's not well-defined in practice to have a
> single value for "cpu frequency". My code is just to get "the value Apple
> prepared to show for legacy applications for compatibility".
>
> So could you please close this patch and commit your changes in the bottom
> instead? Thanks.

Sure, I'll post them as a proper patch. I'll CC you so you can test
it and confirm things work as expected :)

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list