Merge pull request #211 from cyrinux/feat/add_qemu_support

feat: add QEMU support
This commit is contained in:
Cyril Levis 2022-03-12 10:42:28 +01:00 committed by GitHub
commit ce83364ff9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,7 @@ def is_vm(dmi):
'Xen' in bios[0]['Version'] or \
'Google Compute Engine' in system[0]['Product Name'] or \
'RHEV Hypervisor' in system[0]['Product Name'] or \
'QEMU' in system[0]['Manufacturer'] or \
'VirtualBox' in bios[0]['Version'] or \
'VMware' in system[0]['Manufacturer']:
return True