VBOX: When restarting and restoring from a checkpoint, make sure we do not checkpoint again until after the minimum checkpoint interval.

This commit is contained in:
Rom Walton 2014-05-30 19:32:35 -04:00
parent 112a3f5ae7
commit 26e16ac48e
1 changed files with 1 additions and 0 deletions

View File

@ -718,6 +718,7 @@ int main(int argc, char** argv) {
// //
read_checkpoint(elapsed_time, current_cpu_time, vm); read_checkpoint(elapsed_time, current_cpu_time, vm);
starting_cpu_time = current_cpu_time; starting_cpu_time = current_cpu_time;
last_checkpoint_time = current_cpu_time;
// Should we even try to start things up? // Should we even try to start things up?
// //