summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2022-01-15 12:53:14 -0800
committerGiampaolo Rodola <g.rodola@gmail.com>2022-01-15 12:53:14 -0800
commit3147361becab52aaad6ff7c557b23c90b01866c3 (patch)
tree845db4b4adb382b2714f38261723e59cf720e8b0
parent38ad16aac5b42457759614eded0502ec6255f845 (diff)
downloadpsutil-3147361becab52aaad6ff7c557b23c90b01866c3.tar.gz
mention references
-rw-r--r--psutil/_virt.py2
-rw-r--r--psutil/arch/windows/cpu.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/psutil/_virt.py b/psutil/_virt.py
index 14a78bf7..b5ebd3d2 100644
--- a/psutil/_virt.py
+++ b/psutil/_virt.py
@@ -25,6 +25,8 @@ WINDOWS
=======
We simply interpret the string returned by __cpuid() syscall, if any.
+Useful references:
+* https://artemonsecurity.com/vmde.pdf
"""
import os
diff --git a/psutil/arch/windows/cpu.c b/psutil/arch/windows/cpu.c
index 11b50fcf..eec02bbe 100644
--- a/psutil/arch/windows/cpu.c
+++ b/psutil/arch/windows/cpu.c
@@ -420,6 +420,7 @@ error:
/*
* A wrapper around __cpuid syscall. Returns a string in case a
* hypervisor / virtualizer is present, else None.
+ * Reference: https://artemonsecurity.com/vmde.pdf
*/
PyObject *
psutil_cpuid(PyObject *self, PyObject *args) {