diff --git a/src/vmaware.hpp b/src/vmaware.hpp index 3500645..ec20bac 100644 --- a/src/vmaware.hpp +++ b/src/vmaware.hpp @@ -8884,23 +8884,6 @@ struct VM { } - /** - * @brief Check for /proc/device-tree directory - * @note idea from https://github.com/ShellCode33/VM-Detection/blob/master/vmdetect/linux.go - * @category Linux - */ - [[nodiscard]] static bool device_tree() try { -#if (!LINUX) - return false; -#else - return (util::exists("/proc/device-tree/hypervisor/compatible")); -#endif - } catch (...) { - debug("DEVICE_TREE: caught error, returned false"); - return false; - } - - // https://medium.com/@matterpreter/hypervisor-detection-with-systemhypervisordetailinformation-26e44a57f80e