On Fri, Feb 13, 2015 at 06:06:12PM +0200, Alberto Garcia wrote: > From: BenoƮt Canet <[email protected]> > > 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 <[email protected]> > Signed-off-by: Alberto Garcia <[email protected]> > --- > block.c | 2 ++ > include/qemu/throttle.h | 3 +++ > util/throttle.c | 16 +++++++++++++--- > 3 files changed, 18 insertions(+), 3 deletions(-)
Reviewed-by: Stefan Hajnoczi <[email protected]>
pgpJifK4SY4_g.pgp
Description: PGP signature
