From 8b997f0cfef4a2db57ccbe8b70e4a88a6f3d28c8 Mon Sep 17 00:00:00 2001
From: Rom Walton <rwalton@ssl.berkeley.edu>
Date: Fri, 20 Mar 2015 09:49:42 -0400
Subject: [PATCH] VBOX: If we experience a timeout when attempting to start the
 VM, dump the log files.

---
 samples/vboxwrapper/vboxwrapper.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/samples/vboxwrapper/vboxwrapper.cpp b/samples/vboxwrapper/vboxwrapper.cpp
index 285102f7b4..1d6553c097 100644
--- a/samples/vboxwrapper/vboxwrapper.cpp
+++ b/samples/vboxwrapper/vboxwrapper.cpp
@@ -845,6 +845,7 @@ int main(int argc, char** argv) {
         vboxlog_msg("  This might be a temporary problem and so this job will be rescheduled for another time.");
         pVM->reset_vm_process_priority();
         pVM->poweroff();
+        pVM->dump_hypervisor_logs(true);
         boinc_temporary_exit(86400,
             "VM Hypervisor failed to enter an online state in a timely fashion."
         );
-- 
GitLab