[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/9] throttle: Prepare to have multiple timers f
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 4/9] throttle: Prepare to have multiple timers for one ThrottleState |
Date: |
Tue, 3 Mar 2015 10:50:13 -0600 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, Feb 13, 2015 at 06:06:12PM +0200, Alberto Garcia wrote:
> From: BenoƮt Canet <address@hidden>
>
> This patch transform the timer_pending call into two boolean values in the
> ThrottleState structure.
>
> This way we are sure that when multiple timers will be used only
> one can be armed at a time.
>
> Signed-off-by: Benoit Canet <address@hidden>
> Signed-off-by: Alberto Garcia <address@hidden>
> ---
> block.c | 2 ++
> include/qemu/throttle.h | 3 +++
> util/throttle.c | 16 +++++++++++++---
> 3 files changed, 18 insertions(+), 3 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
pgpVb1aHo1u_P.pgp
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH 4/9] throttle: Prepare to have multiple timers for one ThrottleState,
Stefan Hajnoczi <=