feat: add QEMU support #211

Merged
cyrinux merged 1 commit from feat/add_qemu_support into master 2022-03-12 10:42:28 +01:00

View file

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