search for: detect_virt_env_using_misc_info

Displaying 2 results from an estimated 2 matches for "detect_virt_env_using_misc_info".

2010 Jun 29
1
[PATCH] virt-what.in: Added VMware virt detection using cpuid in wrapper script
...quot; --version Display version and exit" - exit 0 + # exit after printing + exit 1 } # Handle the command line arguments, if any. @@ -70,74 +81,99 @@ exec_prefix=@exec_prefix@ PATH=@libexecdir@:/sbin:/usr/sbin:$PATH -# Check for various products in the BIOS information. +detect_virt_env_using_misc_info() { -dmi=`dmidecode 2>&1` + # Check for various products in the BIOS information. -if echo "$dmi" | grep -q 'Manufacturer: VMware'; then - echo vmware -fi + dmi=`dmidecode 2>&1` -if echo "$dmi" | grep -q 'Manufacturer: Microsoft Corpor...
2010 Jun 29
1
[PATCH] virt-what.in: Added VMware virt detection using cpuid in wrapper script
...quot; --version Display version and exit" - exit 0 + # exit after printing + exit 1 } # Handle the command line arguments, if any. @@ -70,74 +81,99 @@ exec_prefix=@exec_prefix@ PATH=@libexecdir@:/sbin:/usr/sbin:$PATH -# Check for various products in the BIOS information. +detect_virt_env_using_misc_info() { -dmi=`dmidecode 2>&1` + # Check for various products in the BIOS information. -if echo "$dmi" | grep -q 'Manufacturer: VMware'; then - echo vmware -fi + dmi=`dmidecode 2>&1` -if echo "$dmi" | grep -q 'Manufacturer: Microsoft Corpor...