On Mon, Oct 7, 2024 at 1:07 PM Bruce Richardson <bruce.richard...@intel.com> wrote: > > Rather than re-querying the HW each time a CPU flag is requested, we can > just save the return value in the flags array. This should speed up > repeated querying of CPU flags, and provides a workaround for a reported > issue where errors are seen with constant querying of the AVX-512 CPU > flag from a non-AVX VM.
This could be applied to other arches cpuflag implementation. Copying other arches maintainers as a fyi. > > Bugzilla Id: 1501 Bugzilla ID* > > Signed-off-by: Bruce Richardson <bruce.richard...@intel.com> I did a quick pass, it lgtm. -- David Marchand