From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSq1W-00065f-0R for qemu-devel@nongnu.org; Tue, 03 Mar 2015 11:50:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSq1T-0000rp-Al for qemu-devel@nongnu.org; Tue, 03 Mar 2015 11:50:21 -0500 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:43528) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSq1T-0000rl-3W for qemu-devel@nongnu.org; Tue, 03 Mar 2015 11:50:19 -0500 Received: by wibhm9 with SMTP id hm9so1085514wib.2 for ; Tue, 03 Mar 2015 08:50:18 -0800 (PST) Date: Tue, 3 Mar 2015 10:50:13 -0600 From: Stefan Hajnoczi Message-ID: <20150303165013.GE15846@stefanha-thinkpad.redhat.com> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9l24NVCWtSuIVIod" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH 4/9] throttle: Prepare to have multiple timers for one ThrottleState List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alberto Garcia Cc: Kevin Wolf , Stefan Hajnoczi , qemu-devel@nongnu.org, =?iso-8859-1?Q?Beno=EEt?= Canet --9l24NVCWtSuIVIod Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 13, 2015 at 06:06:12PM +0200, Alberto Garcia wrote: > From: Beno=EEt Canet >=20 > This patch transform the timer_pending call into two boolean values in the > ThrottleState structure. >=20 > This way we are sure that when multiple timers will be used only > one can be armed at a time. >=20 > Signed-off-by: Benoit Canet > Signed-off-by: Alberto Garcia > --- > block.c | 2 ++ > include/qemu/throttle.h | 3 +++ > util/throttle.c | 16 +++++++++++++--- > 3 files changed, 18 insertions(+), 3 deletions(-) Reviewed-by: Stefan Hajnoczi --9l24NVCWtSuIVIod Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJU9eZFAAoJEJykq7OBq3PIcxIIAMRcxHRU0mXydsRL1nfN2lJL a21uRgBOLi9sJ8IbYq6WgoevhL/Gv7idjtrHjkBo+iBIPaNtVYoYdi/gyJ2FRO4q ttUjRrHA/EBtqwDmQ+eZ5HLOwu6TPX46WBiYj/AQXRwSk/i/h1tU1DNrUxXL8Cr1 EoIgWJqWqencn75duasct6l0uzfRPT8utEhGOAtuQraqI6aZzFfrao5G1c5FR1JF 1spdcl3ClWFiymL3ODKVfBTWERVB7VLEsF4nW8rGljYeJU//gwpCmYl99XcGN/UD ferl483+pJIfE6rpUkCRMc0vdiM5hoKMx36R7iUIABZOghBZLxDsKvCTafvQecM= =gpd4 -----END PGP SIGNATURE----- --9l24NVCWtSuIVIod--