klauspost / cpuid

CPU feature identification for Go
MIT License
1.01k stars 125 forks source link

Fix AMD cache hang on buggy Xen hypervisor #104

Closed klauspost closed 2 years ago

klauspost commented 2 years ago

Xen Hypervisor is buggy and returns the same entry no matter ECX value. Hack: When we encounter the same entry 100 times we break.

Fixes #103