qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] throttle: refuse bps_max/iops_max without bps/iops
@ 2015-08-04 10:22 Stefan Hajnoczi
  2015-08-04 10:22 ` [Qemu-devel] [PATCH 1/2] " Stefan Hajnoczi
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Stefan Hajnoczi @ 2015-08-04 10:22 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alberto Garcia, Stefan Hajnoczi

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-08-05 11:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-04 10:22 [Qemu-devel] [PATCH 0/2] throttle: refuse bps_max/iops_max without bps/iops Stefan Hajnoczi
2015-08-04 10:22 ` [Qemu-devel] [PATCH 1/2] " Stefan Hajnoczi
2015-08-04 11:12   ` Alberto Garcia
2015-08-04 10:22 ` [Qemu-devel] [PATCH 2/2] throttle: add throttle_max_is_missing_limit() test Stefan Hajnoczi
2015-08-04 11:12   ` Alberto Garcia
2015-08-05 11:54 ` [Qemu-devel] [PATCH 0/2] throttle: refuse bps_max/iops_max without bps/iops Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).