VBOX: Write the desired checkpoint interval to stderr on startup and every time it changes.

This commit is contained in:
Rom Walton 2014-05-29 01:20:16 -04:00
parent 817cb0eabd
commit 1f4098aaa9
1 changed files with 7 additions and 0 deletions

View File

@ -1125,6 +1125,13 @@ int main(int argc, char** argv) {
boinc_parse_init_data_file();
boinc_get_init_data_p(&aid);
set_throttles(aid, vm);
fprintf(
stderr,
"%s Checkpoint Interval is now %d seconds.\n",
vboxwrapper_msg_prefix(buf, sizeof(buf)),
(int)aid.checkpoint_period
);
}
// if the VM has a maximum amount of time it is allowed to run,