diff options
| author | Fam Zheng <famz@redhat.com> | 2014-10-31 11:04:31 +0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-10-31 11:29:02 +0100 |
| commit | 0ba1f53191221b541b938df86a39eeccfb87f996 (patch) | |
| tree | e930a80d0cbbf94d2d40eb8e20488b855607d1cc /scripts/kvm | |
| parent | fb7b5c0df6e3c501973ce4d57eb2b1d4344a519d (diff) | |
| download | focaccia-qemu-0ba1f53191221b541b938df86a39eeccfb87f996.tar.gz focaccia-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/kvm')
0 files changed, 0 insertions, 0 deletions