X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_timeout.c;h=7e0992fa16715a5d83f74bca77bd886a4326a61c;hb=28cd2d6deca639fe40256c4d3f2c8f9491ec777a;hp=ad951e20d25e34e96ab9242dea30a172b17616a3;hpb=92082ed86bcfd503e28dbedb24c79c3dc797dc87;p=palacios.git diff --git a/palacios/src/palacios/vmm_timeout.c b/palacios/src/palacios/vmm_timeout.c index ad951e2..7e0992f 100644 --- a/palacios/src/palacios/vmm_timeout.c +++ b/palacios/src/palacios/vmm_timeout.c @@ -31,7 +31,7 @@ int v3_add_core_timeout(struct guest_info * core, uint64_t cycles, 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; } @@ -40,8 +40,7 @@ int v3_add_core_timeout(struct guest_info * core, uint64_t cycles, timeouts->timeout_active = 1; timeouts->next_timeout = cycles; - return 0; -} + return 0;} @@ -49,7 +48,7 @@ int v3_handle_timeouts(struct guest_info * core, uint64_t guest_cycles) { 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); */ @@ -59,7 +58,7 @@ int v3_handle_timeouts(struct guest_info * core, uint64_t guest_cycles) { 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 {