struct v3_core_timeouts * timeouts = &(core->timeouts);
if (timeouts->timeout_active) {
- PrintError("Tried to activate a timeout whiel one is already active\n");
+ PrintError(core->vm_info, core, "Tried to activate a timeout whiel one is already active\n");
return -1;
}
timeouts->timeout_active = 1;
timeouts->next_timeout = cycles;
- return 0;
-}
+ return 0;}
struct v3_core_timeouts * timeouts = &(core->timeouts);
/*
- V3_Print("Handling timeout from %llu guest cycles (Next timeout=%llu)\n", guest_cycles,
+ V3_Print(core->vm_info, core, "Handling timeout from %llu guest cycles (Next timeout=%llu)\n", guest_cycles,
timeouts->next_timeout);
*/
if (timeouts->callback) {
- V3_Print("Calling timeout callback\n");
+ V3_Print(core->vm_info, core, "Calling timeout callback\n");
timeouts->callback(core, timeouts->private_data);
}
} else {