summary refs log tree commit diff stats
path: root/hw/pci-host/prep.c
diff options
context:
space:
mode:
authorHalil Pasic <pasic@linux.vnet.ibm.com>2015-12-07 15:21:46 +0100
committerCornelia Huck <cornelia.huck@de.ibm.com>2016-01-13 10:53:42 +0100
commit1789f4e37c78d408dfa61655dfd8b397554152f9 (patch)
treedce3421bedb8ce4a507c0c5c722511ccf748c311 /hw/pci-host/prep.c
parentcf87e0a3eea4ccc91fdb84b96cf9b62f399b6f3d (diff)
downloadfocaccia-qemu-1789f4e37c78d408dfa61655dfd8b397554152f9.tar.gz
focaccia-qemu-1789f4e37c78d408dfa61655dfd8b397554152f9.zip
virtio-ccw: fix sanity check for vector
The commit 8dfbaa6ac ("virtio-ccw: introduce ccw specific queue limit")
did not touch the sanity check for the vector argument of the method
virtio_ccw_notify, despite intended as seen from
https://lists.nongnu.org/archive/html/qemu-devel/2015-04/msg02705.html
To be able to scale number of virtqueues using the constant this sanity
check needs to be altered.

Fixes: 8dfbaa6ac ("virtio-ccw: introduce ccw specific queue limit")
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'hw/pci-host/prep.c')
0 files changed, 0 insertions, 0 deletions