Re: [Qemu-devel] [PATCH 03/12] qemu-timer: more clock functions

2011-09-30 Thread Lluís Vilanova
Paolo Bonzini writes: > On 09/30/2011 12:52 PM, Lluís Vilanova wrote: >> Paolo Bonzini writes: >> >>> These will be used when moving icount accounting to cpus.c. >> >> I have something related to this kind of refactoring. While trying to >> understand >> all the timing facilities in QEMU, I wro

Re: [Qemu-devel] [PATCH 03/12] qemu-timer: more clock functions

2011-09-30 Thread Paolo Bonzini
On 09/30/2011 12:52 PM, Lluís Vilanova wrote: Paolo Bonzini writes: These will be used when moving icount accounting to cpus.c. I have something related to this kind of refactoring. While trying to understand all the timing facilities in QEMU, I wrote some (unfinished) patches that try to dis

Re: [Qemu-devel] [PATCH 03/12] qemu-timer: more clock functions

2011-09-30 Thread Lluís Vilanova
Paolo Bonzini writes: > These will be used when moving icount accounting to cpus.c. I have something related to this kind of refactoring. While trying to understand all the timing facilities in QEMU, I wrote some (unfinished) patches that try to disentangle much of the code in qemu-timer into two

[Qemu-devel] [PATCH 03/12] qemu-timer: more clock functions

2011-09-27 Thread Paolo Bonzini
These will be used when moving icount accounting to cpus.c. Signed-off-by: Paolo Bonzini --- qemu-timer.c | 25 + qemu-timer.h |3 +++ 2 files changed, 28 insertions(+), 0 deletions(-) diff --git a/qemu-timer.c b/qemu-timer.c index e2551f3..ebb5089 100644 --- a/qem