From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSX90-0005YC-7c for qemu-devel@nongnu.org; Wed, 27 Jul 2016 18:17:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSX8w-00042u-FQ for qemu-devel@nongnu.org; Wed, 27 Jul 2016 18:17:37 -0400 From: Alberto Garcia Date: Thu, 28 Jul 2016 01:16:07 +0300 Message-Id: Subject: [Qemu-devel] [PATCH for-2.7 0/2] Don't allow burst limits to be lower than the normal limits List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, Stefan Hajnoczi , Gu Nini , Alberto Garcia Hello, Gu Nini found this problem and reported it in https://bugzilla.redhat.com/show_bug.cgi?id=1355665 When setting the throttling configuration, the burst limits can be lower than the normal limits. This does not making any sense and behaves oddly, so let's forbid it. Berto Alberto Garcia (2): throttle: Don't allow burst limits to be lower than the normal limits throttle: Test burst limits lower than the normal limits tests/test-throttle.c | 8 ++++++++ util/throttle.c | 6 ++++++ 2 files changed, 14 insertions(+) -- 2.8.1