+# Check for IBM PowerVM Lx86 Linux/x86 emulator.
+if grep -q '^vendor_id.*PowerVM Lx86' $root/proc/cpuinfo; then
+ echo powervm_lx86
+fi
+
+# Check for Hitachi Virtualization Manager (HVM) Virtage logical partitioning.
+if echo "$dmi" | grep -q 'Manufacturer.*HITACHI' &&
+ echo "$dmi" | grep -q 'Product.*HVM LPAR'; then
+ echo virtage
+fi
+
+# Check for IBM SystemZ.
+if grep -q '^vendor_id.*IBM/S390' $root/proc/cpuinfo; then
+ echo ibm_systemz
+ if [ -f $root/proc/sysinfo ]; then
+ if grep -q 'VM.*Control Program.*z/VM' $root/proc/sysinfo; then
+ echo ibm_systemz-zvm
+ elif grep -q '^LPAR' $root/proc/sysinfo; then
+ echo ibm_systemz-lpar
+ else
+ # This is unlikely to be correct.
+ echo ibm_systemz-direct
+ fi
+ fi
+fi
+
+# Check for Parallels.
+if echo "$dmi" | grep -q 'Vendor: Parallels'; then
+ echo parallels
+ skip_qemu_kvm=1
+fi
+