qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/2] block: refuse negative iops and bps values


From: Stefan Hajnoczi
Subject: [Qemu-devel] [PATCH 0/2] block: refuse negative iops and bps values
Date: Wed, 13 Feb 2013 16:53:41 +0100

These patches report an error if negative values are given for I/O throttling
iops or bps.

Patch 1 gets do_check_io_limits() into shape so that we can add checks.

Patch 2 adds the negative check.

Stefan Hajnoczi (2):
  block: use Error in do_check_io_limits()
  block: refuse negative iops and bps values

 blockdev.c | 24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

-- 
1.8.1.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]