summaryrefslogtreecommitdiff
path: root/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp')
-rw-r--r--src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp b/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp
index 0d8f86518..9d31b7f58 100644
--- a/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp
+++ b/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp
@@ -266,11 +266,16 @@ int suplibOsQueryVTxSupported(void)
rc = RTStrToUInt32Ex(szBuf, &pszNext, 10, &uA);
if ( RT_SUCCESS(rc)
- && *pszNext == '.')
+ && *pszNext == '.')
{
+ /*
+ * new version number scheme starting with Linux 3.0
+ */
+ if (uA >= 3)
+ return VINF_SUCCESS;
rc = RTStrToUInt32Ex(pszNext+1, &pszNext, 10, &uB);
if ( RT_SUCCESS(rc)
- && *pszNext == '.')
+ && *pszNext == '.')
{
rc = RTStrToUInt32Ex(pszNext+1, &pszNext, 10, &uC);
if (RT_SUCCESS(rc))