You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason on 6th gen Intels and newer this does not cause any issue, however on older Intel CPUs it will cause system instability/freezing. The function below is responsible for the determining the memory cache type that each page on the EPT is configured to. The bug in the code lies in fact that the original code's default result is "memory_type::uncacheable" even though a valid mttr descriptor for that memory range was found.
I spent weeks looking into every line of hvpp until I finally stumbled upon this one bug that was fixed by adding just 3 lines.
@wbenny
Related to issue: #37
For some reason on 6th gen Intels and newer this does not cause any issue, however on older Intel CPUs it will cause system instability/freezing. The function below is responsible for the determining the memory cache type that each page on the EPT is configured to. The bug in the code lies in fact that the original code's default result is "memory_type::uncacheable" even though a valid mttr descriptor for that memory range was found.
I spent weeks looking into every line of hvpp until I finally stumbled upon this one bug that was fixed by adding just 3 lines.
In hvpp/lib/mttr_descriptor.h:
Other than that I've found that hvpp is a really well written hypervisor and has a lot of potential. Thanks!
The text was updated successfully, but these errors were encountered: