From 98704355c9075751b97046aadd27a5a7debc11f4 Mon Sep 17 00:00:00 2001 From: computezrmle <57127745+computezrmle@users.noreply.github.com> Date: Tue, 16 Apr 2024 10:28:33 +0200 Subject: [PATCH 1/2] change default return of is_virtualbox_version_newer --- samples/vboxwrapper/vbox_common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/vboxwrapper/vbox_common.cpp b/samples/vboxwrapper/vbox_common.cpp index fd048df7fa..4a4fa7ae91 100644 --- a/samples/vboxwrapper/vbox_common.cpp +++ b/samples/vboxwrapper/vbox_common.cpp @@ -593,7 +593,7 @@ bool VBOX_BASE::is_virtualbox_version_newer(int maj, int min, int rel) { if (min > vbox_minor) return false; if (rel < vbox_release) return true; } - return false; + return true; } int VBOX_BASE::get_system_log( From abf23d3c7134d52d4205f2a4254f603a8fdfe063 Mon Sep 17 00:00:00 2001 From: computezrmle <57127745+computezrmle@users.noreply.github.com> Date: Fri, 19 Apr 2024 08:59:47 +0200 Subject: [PATCH 2/2] Add log message to get_version_information --- samples/vboxwrapper/vbox_vboxmanage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/vboxwrapper/vbox_vboxmanage.cpp b/samples/vboxwrapper/vbox_vboxmanage.cpp index 602db049d4..751e855536 100644 --- a/samples/vboxwrapper/vbox_vboxmanage.cpp +++ b/samples/vboxwrapper/vbox_vboxmanage.cpp @@ -1846,6 +1846,7 @@ int VBOX_VM::get_version_information(string& version_raw, string& version_displa ); version_display = buf; } else { + vboxlog_msg("VBoxManage version raw: %s", output.c_str()); version_raw = "Unknown"; version_display = "VirtualBox VboxManage Interface (Version: Unknown)"; }