Based on a description on MSDN:
http://blogs.msdn.com/b/sqlosteam/archive/2010/10/30/is-this-real-the-metaphysics-of-hardware-virtualization.aspx
Not tested. Hyper-V also supports more detail through the CPUID
instruction, which we don't yet display.
echo vmware
fi
+# Check for Hyper-V.
+# http://blogs.msdn.com/b/sqlosteam/archive/2010/10/30/is-this-real-the-metaphysics-of-hardware-virtualization.aspx
+if [ "$cpuid" = "Microsoft Hv" ]; then
+ echo hyperv
+fi
+
# Check for VirtualPC.
if echo "$dmi" | grep -q 'Manufacturer: Microsoft Corporation'; then
=over 4
-=item B<openvz>
+=item B<hyperv>
-The guest appears to be running inside an OpenVZ or Virtuozzo
-container.
+This is Hyper-V.
-Status: contributed by Evgeniy Sokolov
+Status: from MSDN description, not tested.
=item B<kvm>
Status: confirmed by RWMJ.
+=item B<openvz>
+
+The guest appears to be running inside an OpenVZ or Virtuozzo
+container.
+
+Status: contributed by Evgeniy Sokolov
+
=item B<qemu>
This is QEMU.