X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=virt-what.in;h=a61ce913210b6df81e00ce5cde71a08679a0df6f;hb=71ef45e9543278e9920e449b71e0da269662ebc9;hp=9eafa0516fcefa977f57eeddd64571472bb11820;hpb=e0443f1fc78f2a79c073dbdf4133bec41c4c0591;p=virt-what.git diff --git a/virt-what.in b/virt-what.in index 9eafa05..a61ce91 100644 --- a/virt-what.in +++ b/virt-what.in @@ -132,7 +132,8 @@ fi # The negative check for cpuid is to distinguish this from Hyper-V # which also has the same manufacturer string in the SM-BIOS data. if [ "$cpuid" != "Microsoft Hv" ] && - echo "$dmi" | grep -q 'Manufacturer: Microsoft Corporation'; then + echo "$dmi" | grep -q 'Manufacturer: Microsoft Corporation' && + echo "$dmi" | grep -q 'Product Name: Virtual Machine'; then echo virtualpc fi