aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHalil Pasic <pasic@linux.vnet.ibm.com>2015-12-07 16:45:17 +0100
committerCornelia Huck <cornelia.huck@de.ibm.com>2017-02-24 10:15:18 +0100
commitb1914b824ade1706847428e64ef5637ffc0ae238 (patch)
tree3c572f9029ac52abea49631c1720a60078ff4358 /include
parent069097dad311ac9c6933d95ebee7c0b53b3378c4 (diff)
downloadqemu-b1914b824ade1706847428e64ef5637ffc0ae238.zip
qemu-b1914b824ade1706847428e64ef5637ffc0ae238.tar.gz
qemu-b1914b824ade1706847428e64ef5637ffc0ae238.tar.bz2
virtio-ccw: support VIRTIO_QUEUE_MAX virtqueues
The maximal number of virtqueues per device can be limited on a per transport basis. For virtio-ccw this limit is defined by VIRTIO_CCW_QUEUE_MAX, however the limitation used to come form the number of adapter routes supported by flic (via notifiers). Recently the limitation of the flic was adjusted so that it can accommodate VIRTIO_QUEUE_MAX queues, and is in the meanwhile checked for separately too. Let us remove the transport specific limitation of virtio-ccw by dropping VIRTIO_CCW_QUEUE_MAX and using VIRTIO_QUEUE_MAX instead. Signed-off-by: Halil Pasic <pasic@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/s390x/s390_flic.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/s390x/s390_flic.h b/include/hw/s390x/s390_flic.h
index 7f8ec75..f9e6890 100644
--- a/include/hw/s390x/s390_flic.h
+++ b/include/hw/s390x/s390_flic.h
@@ -24,7 +24,6 @@
* maximum right now.
*/
#define ADAPTER_ROUTES_MAX_GSI VIRTIO_QUEUE_MAX
-#define VIRTIO_CCW_QUEUE_MAX 64
typedef struct AdapterRoutes {
AdapterInfo adapter;