From f0998b64efcffa0b166b93110b6b48543b51d681 Mon Sep 17 00:00:00 2001 From: Rom Walton <romw@romwnet.org> Date: Tue, 13 Oct 2015 14:17:01 -0400 Subject: [PATCH] VBOX: On a hypervisor detection failure failure dump all the logs to stderr, it would have quickly exposed a search path change on Mac OS X. --- samples/vboxwrapper/vboxwrapper.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samples/vboxwrapper/vboxwrapper.cpp b/samples/vboxwrapper/vboxwrapper.cpp index 08f88e1954..532ba27db0 100644 --- a/samples/vboxwrapper/vboxwrapper.cpp +++ b/samples/vboxwrapper/vboxwrapper.cpp @@ -484,6 +484,7 @@ int main(int argc, char** argv) { retval = pVM->initialize(); if (retval) { vboxlog_msg("Could not detect VM Hypervisor. Rescheduling execution for a later date."); + pVM->dump_hypervisor_logs(true); boinc_temporary_exit(86400, "Detection of VM Hypervisor failed."); } } @@ -495,6 +496,7 @@ int main(int argc, char** argv) { retval = pVM->initialize(); if (retval) { vboxlog_msg("Could not detect VM Hypervisor. Rescheduling execution for a later date."); + pVM->dump_hypervisor_logs(true); boinc_temporary_exit(86400, "Detection of VM Hypervisor failed."); } #endif -- GitLab