summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFam Zheng2014-10-31 04:04:31 +0100
committerPaolo Bonzini2014-10-31 11:29:02 +0100
commit0ba1f53191221b541b938df86a39eeccfb87f996 (patch)
treee930a80d0cbbf94d2d40eb8e20488b855607d1cc /scripts
parentscsi: devirtualize unrealize of SCSI devices (diff)
downloadqemu-0ba1f53191221b541b938df86a39eeccfb87f996.tar.gz
qemu-0ba1f53191221b541b938df86a39eeccfb87f996.tar.xz
qemu-0ba1f53191221b541b938df86a39eeccfb87f996.zip
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')
0 files changed, 0 insertions, 0 deletions