Hitachi plans to change dmidecode output in the future release of
Virtage. By this change, some of Virtage models will not output "HVM"
before LPAR in "Product Name" field, which current virt-what code uses
to detect Virtage. Therefore we need to change Virtage check routine.
(cherry picked from commit
08318065ff25ef23c2377d1425972b840a0a7204)
# 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 "$dmi" | grep -q 'Product.* LPAR'; then
echo virtage
fi