VBOX: Always show the VboxStartup.log on error.

This commit is contained in:
Rom Walton 2015-04-13 13:05:11 -04:00
parent 5765befdd2
commit 28254563da
1 changed files with 1 additions and 15 deletions

View File

@ -227,7 +227,7 @@ void VBOX_BASE::dump_hypervisor_logs(bool include_error_logs) {
get_trace_log(local_startup_log);
get_vm_exit_code(vm_exit_code);
if (include_error_logs && !started_successfully) {
if (include_error_logs) {
fprintf(
stderr,
"\n"
@ -244,20 +244,6 @@ void VBOX_BASE::dump_hypervisor_logs(bool include_error_logs) {
local_startup_log.c_str(),
local_trace_log.c_str()
);
} else {
fprintf(
stderr,
"\n"
" Hypervisor System Log:\n\n"
"%s\n"
" VM Execution Log:\n\n"
"%s\n"
" VM Trace Log:\n\n"
"%s",
local_system_log.c_str(),
local_vm_log.c_str(),
local_trace_log.c_str()
);
}
if (vm_exit_code) {