FIX #2127 Detect that HW virtualization is not supported
Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
@@ -218,6 +218,9 @@ func (d *Driver) IsVTXDisabledInTheVM() (bool, error) {
|
||||
if strings.Contains(scanner.Text(), "VT-x is disabled") {
|
||||
return true, nil
|
||||
}
|
||||
if strings.Contains(scanner.Text(), "the host CPU does NOT support HW virtualization") {
|
||||
return true, nil
|
||||
}
|
||||
}
|
||||
|
||||
return false, nil
|
||||
|
||||
Reference in New Issue
Block a user