VBOX: Latest versions of VirtualBox changed the kernel drivers missing error message.

This commit is contained in:
Rom Walton 2015-05-01 14:57:58 -04:00
parent d3d57cae99
commit 119237594d
1 changed files with 5 additions and 2 deletions

View File

@ -1351,8 +1351,11 @@ bool VBOX_VM::is_system_ready(std::string& message) {
rc = false;
}
if (output.find("WARNING: The vboxdrv kernel module is not loaded.") != string::npos) {
vboxlog_msg("WARNING: The vboxdrv kernel module is not loaded.");
if (
(output.find("WARNING: The vboxdrv kernel module is not loaded.") != string::npos) ||
(output.find("WARNING: The VirtualBox kernel modules are not loaded.") != string::npos)
){
vboxlog_msg("WARNING: The VirtualBox kernel modules are not loaded.");
vboxlog_msg("WARNING: Please update/recompile VirtualBox kernel drivers.");
message = "Please update/recompile VirtualBox kernel drivers.";
rc = false;