-----Original Message-----
From: libvir-list-bounces(a)redhat.com [mailto:libvir-list-bounces@redhat.com]
On Behalf Of Martin Kletzander
Sent: Wednesday, October 29, 2014 11:45 PM
To: libvir-list(a)redhat.com
Subject: [libvirt] [PATCH 2/2] lxc: improve error message for invalid blkiotune
settings
Before:
$ virsh blkiotune dummy --device-read-bytes-sec /dev/sda,-1
error: Unable to change blkio parameters
error: invalid argument: unable to parse blkio device
'device_read_bytes_sec' '/dev/sda,-1'
After:
$ virsh blkiotune dummy --device-read-bytes-sec /dev/sda,-1
error: Unable to change blkio parameters
error: invalid argument: invalid value '-1' for parameter
'device_read_bytes_sec' of device '/dev/sda'
Resolves:
https://bugzilla.redhat.com/show_bug.cgi?id=1131306
Signed-off-by: Martin Kletzander <mkletzan(a)redhat.com>
That would be much easier for users.
Reviewed-by: Chen Hanxiao <chenhanxiao(a)cn.fujitsu.com>
Thanks,
- Chen