virtio-ccw: using VIRTIO_NO_VECTOR instead of 0 for invalid virtqueue
authorJason Wang <jasowang@redhat.com>
Thu, 23 Apr 2015 06:21:40 +0000 (14:21 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 27 Apr 2015 19:02:41 +0000 (21:02 +0200)
commit955cc8c9541779e09895a9c5ccbf8ace15d884f5
tree238b0c5759eae7e852816d06b8c31ba45660de8f
parentbcfa4d60144fb879f0ffef0a6d174faa37b2df82
virtio-ccw: using VIRTIO_NO_VECTOR instead of 0 for invalid virtqueue

It's a bad idea to need to use vector 0 for invalid virtqueue. So this patch
changes to using VIRTIO_NO_VECTOR instead.

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
CC: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Alexander Graf <agraf@suse.de>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/s390x/virtio-ccw.c