[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [Qemu-devel] [PATCH] qemu-timer: simplify qemu_run_ti
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-trivial] [Qemu-devel] [PATCH] qemu-timer: simplify qemu_run_timers |
Date: |
Sat, 22 Sep 2012 17:22:05 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Sep 19, 2012 at 03:52:44PM +0200, Paolo Bonzini wrote:
> ptimer_head is an invariant pointer to clock->active_timers.
> Remove it, and just reference clock->active_timers directly.
>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> qemu-timer.c | 7 +++----
> 1 file modificato, 3 inserzioni(+), 4 rimozioni(-)
qemu_run_timers() is a piece of code that I always have to read
line-by-line. This simplification helps a bit, nice.
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan