wavesoft / libcernvm

A cross-platform library for starting, controlling and interfacing with Virtual Machines, mainly targeting desktop computers.
GNU General Public License v3.0
2 stars 4 forks source link

Error in version parsing when linux kernel drivers are not loaded #2

Closed wavesoft closed 9 years ago

wavesoft commented 9 years ago

The VBoxInstance::validateIntegrity function should cope with cases where an error message appears in the output (ex. kernel modules not loaded).

wavesoft commented 9 years ago

Example:

$ VBoxManage --version
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (3.19.5-100.fc20.x86_64) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /etc/init.d/vboxdrv setup

         You will not be able to start VMs until this problem is fixed.
4.3.18r96516