Re: [Qemu-devel] [PATCH 2/4] qemu-timer: add timer_init and timer_init_ns/us/ms

2015-01-09 Thread Paolo Bonzini
On 09/01/2015 03:19, Fam Zheng wrote: >> > /** >> > + * timer_init: >> > + * @clock: the clock to associate with the timer > s/@clock/@type/ > > And similarly below. Doh, cut-and-paste error (it's also in timer_new and friends). >> > + * @scale: the scale value for the timer >> > + * @cb: the

Re: [Qemu-devel] [PATCH 2/4] qemu-timer: add timer_init and timer_init_ns/us/ms

2015-01-08 Thread Fam Zheng
On Thu, 01/08 11:03, Paolo Bonzini wrote: > These functions for the main loop TimerListGroup will replace > timer_new and timer_new_ns/us/ms. > > Signed-off-by: Paolo Bonzini > --- > include/qemu/timer.h | 73 > > 1 file changed, 73 insertion

[Qemu-devel] [PATCH 2/4] qemu-timer: add timer_init and timer_init_ns/us/ms

2015-01-08 Thread Paolo Bonzini
These functions for the main loop TimerListGroup will replace timer_new and timer_new_ns/us/ms. Signed-off-by: Paolo Bonzini --- include/qemu/timer.h | 73 1 file changed, 73 insertions(+) diff --git a/include/qemu/timer.h b/include/qemu/time