qemu detection added

This commit is contained in:
Diego Araujo Novoa 2020-04-28 13:28:59 +02:00 committed by GitHub
parent ec95d3fd9b
commit d206f6cf98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,6 +32,7 @@ namespace SafeExamBrowser.SystemComponents
isVirtualMachine |= manufacturer.Contains("vmware");
isVirtualMachine |= manufacturer.Contains("parallels software");
isVirtualMachine |= model.Contains("virtualbox");
isVirtualMachine |= manufacturer.Contains("qemu");
logger.Debug($"Computer '{systemInfo.Name}' appears to {(isVirtualMachine ? "" : "not ")}be a virtual machine.");