Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/vmaware.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6604,6 +6604,16 @@ struct VM {
debug("FIRMWARE: C2 and C3 latencies indicate VM");
return true;
}

if (buffer_len >= 276) {
u64 hypervisor_vid = 0;
memcpy(&hypervisor_vid, buffer + 268, 8);

if (hypervisor_vid != 0) {
debug("FIRMWARE: FACP 'Hypervisor Vendor Identity' field is occupied");
return true;
}
}
}

return false;
Expand Down
Loading