]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: fix parsing 'cmd_per_lun' and 'max_sectors'
authorMo yuxiang <moyuxiang@huawei.com>
Thu, 14 Aug 2014 07:55:34 +0000 (15:55 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 14 Aug 2014 08:25:57 +0000 (10:25 +0200)
commitca8ef1df3b1d1d828ab9b99acc18108faaf8ac64
tree06099fcf09da47277bab3bbb2fff072b1b847107
parentbd3b76e35502928a490465bbc1251546c01f00c3
conf: fix parsing 'cmd_per_lun' and 'max_sectors'

commit d9504941 introduces two new attributes "cmd_per_lun" and
"max_sectors" same with the names QEMU uses for virtio-scsi.
But the case of parsing them is not exact. Change to parse
them if controller has "driver" element.

Signed-off-by: Mo yuxiang <moyuxiang@huawei.com>
src/conf/domain_conf.c