]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: virDomainDiskDefIotuneParse: Report malformed number errors
authorPeter Krempa <pkrempa@redhat.com>
Tue, 12 Apr 2016 13:03:19 +0000 (15:03 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 13 Apr 2016 06:21:38 +0000 (08:21 +0200)
commit14e4c4e46503267e59a924cf066a43030e5414d7
tree5732d4892a14287b893753ca301665e7823511d4
parent112ae48192aa15354bc8ab4b5dcf527e57a6199a
conf: virDomainDiskDefIotuneParse: Report malformed number errors

Rest of the fields of the iotune data structure did not check for
malformed integers. Use the previously defined macro to extract them
which will simplify the code and add error reporting.
src/conf/domain_conf.c