git.legacy.paulk.fr
/
vboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Detect and report VM environment in crossystem
[vboot.git]
/
host
/
arch
/
mips
/
lib
/
crossystem_arch.c
diff --git
a/host/arch/mips/lib/crossystem_arch.c
b/host/arch/mips/lib/crossystem_arch.c
index
28a6b80
..
ed1c7ab
100644
(file)
--- a/
host/arch/mips/lib/crossystem_arch.c
+++ b/
host/arch/mips/lib/crossystem_arch.c
@@
-42,6
+42,8
@@
int VbGetArchPropertyInt(const char* name) {
return 0;
} else if (!strcasecmp(name,"wpsw_boot")) {
return 1;
+ } else if (!strcasecmp(name,"inside_vm")) {
+ return 0;
}
return -1;
}