From 119237594da556679af242da1bae77e5ad83c675 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Fri, 1 May 2015 14:57:58 -0400 Subject: [PATCH] VBOX: Latest versions of VirtualBox changed the kernel drivers missing error message. --- samples/vboxwrapper/vbox_vboxmanage.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/samples/vboxwrapper/vbox_vboxmanage.cpp b/samples/vboxwrapper/vbox_vboxmanage.cpp index 52840dc494..9e99350f17 100644 --- a/samples/vboxwrapper/vbox_vboxmanage.cpp +++ b/samples/vboxwrapper/vbox_vboxmanage.cpp @@ -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;