Received: from eggs.gnu.org ([2001:4830:134:3::10]:51382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMxH9-00079W-O2 for qemu-devel@nongnu.org; Wed, 05 Aug 2015 07:54:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMxH6-0000ap-Em for qemu-devel@nongnu.org; Wed, 05 Aug 2015 07:54:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMxH6-0000aR-A3 for qemu-devel@nongnu.org; Wed, 05 Aug 2015 07:54:24 -0400 Date: Wed, 5 Aug 2015 12:54:20 +0100 From: Stefan Hajnoczi Message-ID: <20150805115420.GA23323@stefanha-thinkpad.redhat.com> References: <1438683733-21111-1-git-send-email-stefanha@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline In-Reply-To: <1438683733-21111-1-git-send-email-stefanha@redhat.com> Subject: Re: [Qemu-devel] [PATCH 0/2] throttle: refuse bps_max/iops_max without bps/iops List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alberto Garcia --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 04, 2015 at 11:22:11AM +0100, Stefan Hajnoczi wrote: > A bps_max/iops_max value without a corresponding bps/iops does nothing. = Avoid > confusing the user by refusing invalid inputs instead of silently ignoring > them. >=20 > Stefan Hajnoczi (2): > throttle: refuse bps_max/iops_max without bps/iops > throttle: add throttle_max_is_missing_limit() test >=20 > blockdev.c | 6 ++++++ > include/qemu/throttle.h | 2 ++ > tests/test-throttle.c | 21 +++++++++++++++++++++ > util/throttle.c | 15 +++++++++++++++ > 4 files changed, 44 insertions(+) >=20 > --=20 > 2.4.3 >=20 Thanks, applied to my block-next tree: https://github.com/stefanha/qemu/commits/block-next Stefan --BOKacYhQ+x31HxR3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVwflsAAoJEJykq7OBq3PICSYH/A6Q2IoL9AABfH8b98bNqKJc 1Gbf467tyzuQCWOI51ZVseDv6VsAbFPZDUEE9oJi5kv6n8nx1V91vbVt+fZhgITy 1UT1Bac3o/w2HCVj4CpcQRvmkhhUtex6MawDsOHYpcslLadAQDw7y0bGPZnwijqI 4SOW9gMUxOOibtsWuWAV3XCs/J9M47QHz2YtdBINA19i5b8jRs824/rXPgQGg8sh 7fwYniyRC8Y88UJ+ZWCs171rqc9W+116zn41RgzIEMAsPXyqSVi1ogEJItx3VTyj A6cAaR/7WoFj9ENGR805rQ2wjZ7gAulU0wD1craFfDyUGDK5FSxfDlFd38XeM0U= =6IrH -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3--