FIX #2127 Detect that HW virtualization is not supported

Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
David Gageot 2015-10-30 16:19:38 +01:00
parent 952539dd8a
commit 0176f05db8
1 changed files with 3 additions and 0 deletions

View File

@ -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