feat: add QEMU support

This commit is contained in:
Cyril Levis 2022-03-12 10:40:34 +01:00
parent bb08813700
commit 75f14fa895
No known key found for this signature in database
GPG key ID: 6DB88737C11F5A48

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