sunxi-tools icon indicating copy to clipboard operation
sunxi-tools copied to clipboard

fel: Try to detect VM environments and print a warning for those

Open n1tehawk opened this issue 8 years ago • 3 comments

We try to detect virtual machines by parsing the vendor IDs of all USB devices, and will print a warning message if such an environment is encountered.

n1tehawk avatar Feb 13 '17 15:02 n1tehawk

Tested-By: @kotc

tested in virtualbox@win7_64 (debian64 gues), vm was detected and warning printed ok

@apritzel: yeah, in cpuinfo: flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc rep_good nopl pni ssse3 sse4_1 hypervisor lahf_lm

kotc avatar Feb 27 '17 18:02 kotc

Should we merge this as-is or try to implement @apritzel's suggestion?

ssvb avatar Mar 19 '17 17:03 ssvb

Okay, I will push this to the master branch in a few days.

ssvb avatar Nov 06 '17 13:11 ssvb