- VBOX: Extract the various logs before attempting to cleanup if the

registration process fails.
        
    samples/vboxwrapper/
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=24996
This commit is contained in:
Rom Walton 2012-01-05 06:34:22 +00:00
parent f9586cdf5f
commit f9a0ba4759
3 changed files with 16 additions and 6 deletions

View File

@ -189,3 +189,10 @@ Rom 4 Jan 2012
samples/vboxwrapper/
vbox.cpp
Rom 5 Jan 2012
- VBOX: Extract the various logs before attempting to cleanup if the
registration process fails.
samples/vboxwrapper/
vboxwrapper.cpp

View File

@ -371,11 +371,14 @@ int main(int argc, char** argv) {
retval = vm.run();
if (retval) {
// Get logs before cleanup
vm.get_system_log(system_log);
vm.get_vm_log(vm_log);
// Cleanup
vm.cleanup();
write_checkpoint(elapsed_time);
vm.get_system_log(system_log);
vm.get_vm_log(vm_log);
fprintf(
stderr,
"%s Hypervisor System Log:\n\n"

View File

@ -81,13 +81,13 @@
<Tool
Name="VCLinkerTool"
AdditionalDependencies="libcmt.lib libcpmt.lib kernel32.lib user32.lib gdi32.lib ole32.lib wsock32.lib"
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\vboxwrapper_24978_windows_intelx86.exe"
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\vboxwrapper_24995_windows_intelx86.exe"
LinkIncremental="0"
SuppressStartupBanner="true"
IgnoreAllDefaultLibraries="true"
DelayLoadDLLs=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\Build\$(PlatformName)\$(ConfigurationName)\vboxwrapper_24978_windows_intelx86.pdb"
ProgramDatabaseFile=".\Build\$(PlatformName)\$(ConfigurationName)\vboxwrapper_24995_windows_intelx86.pdb"
SubSystem="2"
TargetMachine="1"
/>
@ -182,13 +182,13 @@
<Tool
Name="VCLinkerTool"
AdditionalDependencies="libcmt.lib libcpmt.lib kernel32.lib user32.lib gdi32.lib ole32.lib wsock32.lib"
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\vboxwrapper_24978_windows_x86_64.exe"
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\vboxwrapper_24995_windows_x86_64.exe"
LinkIncremental="0"
SuppressStartupBanner="true"
IgnoreAllDefaultLibraries="true"
DelayLoadDLLs=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\Build\$(PlatformName)\$(ConfigurationName)\vboxwrapper_24978_windows_x86_64.pdb"
ProgramDatabaseFile=".\Build\$(PlatformName)\$(ConfigurationName)\vboxwrapper_24995_windows_x86_64.pdb"
SubSystem="2"
TargetMachine="17"
/>