Skip to content

Commit cd46cf4

Browse files
author
Requiem
committed
removed PCI_VM on my end
1 parent 7f9cb57 commit cd46cf4

3 files changed

Lines changed: 124 additions & 167 deletions

File tree

docs/documentation.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,6 @@ VMAware provides a convenient way to not only check for VMs, but also have the f
539539
| `VM::AUDIO` | Check if no waveform-audio output devices are present in the system | 🪟 | 25% | | | | | [link](https://github.com/kernelwernel/VMAware/blob/8cb2491b1c7d2cb7300d1d698b7c64c953b4ae75/src/vmaware.hpp#L9980) |
540540
| `VM::UNKNOWN_MANUFACTURER` | Check if the CPU manufacturer is not known | 🐧🪟🍏 | 50% | | | | | [link](https://github.com/kernelwernel/VMAware/blob/8cb2491b1c7d2cb7300d1d698b7c64c953b4ae75/src/vmaware.hpp#L10016) |
541541
| `VM::NSJAIL_PID` | Check if process status matches with nsjail patterns with PID anomalies | 🐧 | 75% | | | | Disabled by default | [link](https://github.com/kernelwernel/VMAware/blob/8cb2491b1c7d2cb7300d1d698b7c64c953b4ae75/src/vmaware.hpp#L10083) |
542-
| `VM::PCI_VM` | Check for PCIe bridge names for known VM keywords and brands | 🐧 | 100% | | | | Disabled by default | [link](https://github.com/kernelwernel/VMAware/blob/8cb2491b1c7d2cb7300d1d698b7c64c953b4ae75/src/vmaware.hpp#L10142) |
543542
| `VM::TPM` | Check if the system has a physical TPM by matching the TPM manufacturer against known physical TPM chip vendors | 🪟 | 50% | | | | | [link](https://github.com/kernelwernel/VMAware/blob/fb66db9fdd7894edebe5eeade4b0148a08bd5514/src/vmaware.hpp#L10011)|
544543
| `VM::PCI_VM_DEVICE_ID` | Check for PCI vendor and device IDs that are VM-specific | 🐧 | 90% | | | | | |
545544
| `VM::QEMU_PASSTHROUGH` | Check for QEMU's hot-plug signature | 🪟 | 100% | | | | | |

src/cli.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,6 @@ bool is_disabled(const VM::enum_flags flag) {
331331
case VM::VMWARE_DMESG:
332332
case VM::PORT_CONNECTORS:
333333
case VM::LSHW_QEMU:
334-
case VM::PCI_VM: return true;
335334
default: return false;
336335
}
337336
}
@@ -393,7 +392,6 @@ bool is_unsupported(VM::enum_flags flag) {
393392
case VM::FILE_ACCESS_HISTORY:
394393
case VM::UNKNOWN_MANUFACTURER:
395394
case VM::NSJAIL_PID:
396-
case VM::PCI_VM:
397395
case VM::PCI_VM_DEVICE_ID:
398396
// ADD LINUX FLAG
399397
return false;
@@ -971,7 +969,6 @@ void general() {
971969
checker(VM::FILE_ACCESS_HISTORY, "low file access count");
972970
checker(VM::UNKNOWN_MANUFACTURER, "unknown manufacturer ids");
973971
checker(VM::NSJAIL_PID, "nsjail PID");
974-
checker(VM::PCI_VM, "PCIe bridge ports");
975972
checker(VM::TPM, "TPM manufacturer");
976973
checker(VM::PCI_VM_DEVICE_ID, "PCI vendor/device ID");
977974
checker(VM::QEMU_PASSTHROUGH, "QEMU passthrough");

0 commit comments

Comments
 (0)