We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2e3ef76 + 71345c9 commit f0de40aCopy full SHA for f0de40a
1 file changed
src/vmaware.hpp
@@ -6604,6 +6604,16 @@ struct VM {
6604
debug("FIRMWARE: C2 and C3 latencies indicate VM");
6605
return true;
6606
}
6607
+
6608
+ if (buffer_len >= 276) {
6609
+ u64 hypervisor_vid = 0;
6610
+ memcpy(&hypervisor_vid, buffer + 268, 8);
6611
6612
+ if (hypervisor_vid != 0) {
6613
+ debug("FIRMWARE: FACP 'Hypervisor Vendor Identity' field is occupied");
6614
+ return true;
6615
+ }
6616
6617
6618
6619
return false;
0 commit comments