]> git.proxmox.com Git - mirror_qemu.git/commit - monitor.c
monitor: replace the magic number 255 with MAX_QUEUE_NUM
authorJason Wang <jasowang@redhat.com>
Thu, 23 Apr 2015 06:21:38 +0000 (14:21 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 27 Apr 2015 19:02:40 +0000 (21:02 +0200)
commiteaed483c1b3db1ac312116fca5d20c45b4b418b2
tree6bd398e65203da57b802c9b7d237c1b6a77ad65f
parentd25228e7befac33b665cd9250292de47ae6b78b5
monitor: replace the magic number 255 with MAX_QUEUE_NUM

This patch replace the magic number 255, and increase it to
MAX_QUEUE_NUM which is maximum number of queues supported by a nic.

Cc: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
monitor.c