Detect Yet Another Virtualization issue

Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
David Gageot 2015-12-08 17:04:45 +01:00
parent caf74d156b
commit 52128128fd
1 changed files with 3 additions and 0 deletions

View File

@ -239,6 +239,9 @@ func (d *Driver) IsVTXDisabledInTheVM() (bool, error) {
if strings.Contains(scanner.Text(), "the host CPU does NOT support HW virtualization") {
return true, nil
}
if strings.Contains(scanner.Text(), "VERR_VMX_UNABLE_TO_START_VM") {
return true, nil
}
}
return false, nil