Added virtual machine detection

This commit is contained in:
SChernykh 2020-12-06 17:34:01 +01:00
parent 7a09f5fe47
commit 41a9bddd59
4 changed files with 10 additions and 4 deletions

View file

@ -52,6 +52,7 @@ protected:
inline bool hasBMI2() const override { return has(FLAG_BMI2); }
inline bool hasOneGbPages() const override { return has(FLAG_PDPE1GB); }
inline bool hasCatL3() const override { return has(FLAG_CAT_L3); }
inline bool isVM() const override { return has(FLAG_VM); }
inline const char *brand() const override { return m_brand; }
inline MsrMod msrMod() const override { return m_msrMod; }
inline size_t cores() const override { return 0; }