[libvirt] [PATCH 0/2] Forbid negative blkio device values

Martin Kletzander mkletzan at redhat.com
Tue Aug 19 13:10:53 UTC 2014


Commits 0728d472 and 399394ab added suuport for
VIR_DOMAIN_BLKIO_DEVICE_*, but all the values were parsed with
underflow being allowed.  Since there is no point in that, it should
be fixed.  Unfortunately the code is duplicated (apart from passing
device/value pairs as a string :-/), so it needs to be fixed twice.

This "series" fixes https://bugzilla.redhat.com/show_bug.cgi?id=1131306

Martin Kletzander (2):
  lxc: forbid negative blkio values
  qemu: forbid negative blkio values

 src/lxc/lxc_driver.c   |  8 ++++----
 src/qemu/qemu_driver.c | 10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

--
2.0.4




More information about the libvir-list mailing list