Return NOT_SUPPORT for set function in VM guest

Fix the unit tests which are fail in VM guest environment.

Change-Id: Id7c58887692bbdecba54f5d2d8463b292e19b4ad
这个提交包含在:
Bill(Shuzhou) Liu 编写, Galantsev, Dmitrii 于 2024-01-17 11:18:25 -06:00 提交
1 父节点 147af192b5
当前提交 a0ec98c30d
3 个文件已更改
+29

没有与搜索条件相匹配的文件

+4
查看文件
@@ -277,6 +277,10 @@ class ScopedAcquire {
DISALLOW_COPY_AND_ASSIGN(ScopedAcquire)
};
// The best effort way to decide whether it is in VM guest environment:
// In VM environment, the /proc/cpuinfo set hypervisor flag by default
bool is_vm_guest();
} // namespace smi
} // namespace amd