[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] throttle: refuse bps_max/iops_max without bps/i
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 0/2] throttle: refuse bps_max/iops_max without bps/iops |
Date: |
Tue, 4 Aug 2015 11:22:11 +0100 |
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.
Stefan Hajnoczi (2):
throttle: refuse bps_max/iops_max without bps/iops
throttle: add throttle_max_is_missing_limit() test
blockdev.c | 6 ++++++
include/qemu/throttle.h | 2 ++
tests/test-throttle.c | 21 +++++++++++++++++++++
util/throttle.c | 15 +++++++++++++++
4 files changed, 44 insertions(+)
--
2.4.3
- [Qemu-devel] [PATCH 0/2] throttle: refuse bps_max/iops_max without bps/iops,
Stefan Hajnoczi <=