aboutsummaryrefslogtreecommitdiff
path: root/scripts/kvm/kvm_stat
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2014-10-31 11:04:31 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2014-10-31 11:29:02 +0100
commit0ba1f53191221b541b938df86a39eeccfb87f996 (patch)
treee930a80d0cbbf94d2d40eb8e20488b855607d1cc /scripts/kvm/kvm_stat
parentfb7b5c0df6e3c501973ce4d57eb2b1d4344a519d (diff)
downloadqemu-0ba1f53191221b541b938df86a39eeccfb87f996.zip
qemu-0ba1f53191221b541b938df86a39eeccfb87f996.tar.gz
qemu-0ba1f53191221b541b938df86a39eeccfb87f996.tar.bz2
virtio-scsi: Fix num_queue input validation
We need to count the ctrlq and eventq, and also cleanup before returning. Besides, the format string should be unsigned. The number could never be less than zero. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/kvm/kvm_stat')
0 files changed, 0 insertions, 0 deletions