Re: [Qemu-devel] [PATCH 1/3] use nanoseconds everywhere for timeout computation

2011-02-01 Thread Aurelien Jarno
On Mon, Jan 31, 2011 at 04:17:52PM -0600, Anthony Liguori wrote: > On 01/31/2011 03:51 PM, Paolo Bonzini wrote: >> Suggested by Aurelien Jarno. >> >> Signed-off-by: Paolo Bonzini >> > > Something I've found is that we have a lot of bugs that are the result > of unit conversions when the unit

Re: [Qemu-devel] [PATCH 1/3] use nanoseconds everywhere for timeout computation

2011-02-01 Thread Aurelien Jarno
On Mon, Jan 31, 2011 at 10:51:17PM +0100, Paolo Bonzini wrote: > Suggested by Aurelien Jarno. > > Signed-off-by: Paolo Bonzini > --- > qemu-timer.c | 30 +++--- > 1 files changed, 15 insertions(+), 15 deletions(-) Reviewed-by: Aurelien Jarno > diff --git a/qemu-timer

[Qemu-devel] [PATCH 1/3] use nanoseconds everywhere for timeout computation

2011-01-31 Thread Paolo Bonzini
Suggested by Aurelien Jarno. Signed-off-by: Paolo Bonzini --- qemu-timer.c | 30 +++--- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/qemu-timer.c b/qemu-timer.c index db1ec49..60283a8 100644 --- a/qemu-timer.c +++ b/qemu-timer.c @@ -197,8 +197,8 @@ s

Re: [Qemu-devel] [PATCH 1/3] use nanoseconds everywhere for timeout computation

2011-01-31 Thread Anthony Liguori
On 01/31/2011 03:51 PM, Paolo Bonzini wrote: Suggested by Aurelien Jarno. Signed-off-by: Paolo Bonzini Something I've found is that we have a lot of bugs that are the result of unit conversions when the unit can't be mapped directly to base 10. This happens in both the PIT and RTC and p