X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_time.h;h=ff4946a09689252c4f193d773ed349ec243e874c;hb=637e4b0b552cf9beff6886a2b0544c4b57eda44f;hp=d254a7f2d7954d7a751d230596023a01937bc8a1;hpb=9b4bfeefac09294a6f0ae12dbadf102eb547f5ec;p=palacios.git diff --git a/palacios/include/palacios/vmm_time.h b/palacios/include/palacios/vmm_time.h index d254a7f..ff4946a 100644 --- a/palacios/include/palacios/vmm_time.h +++ b/palacios/include/palacios/vmm_time.h @@ -48,8 +48,8 @@ struct vm_time { struct vm_timer_ops { - void (*update_time)(ullong_t cpu_cycles, ullong_t cpu_freq, void * priv_data); - + void (*update_time)(struct guest_info * info, ullong_t cpu_cycles, ullong_t cpu_freq, void * priv_data); + void (*advance_timer)(struct guest_info * info, void * private_data); }; struct vm_timer { @@ -65,6 +65,7 @@ struct vm_timer { int v3_add_timer(struct guest_info * info, struct vm_timer_ops * ops, void * private_data); int v3_remove_timer(struct guest_info * info, struct vm_timer * timer); +void v3_advance_time(struct guest_info * info); void v3_update_time(struct guest_info * info, ullong_t cycles);