Jason Wang 6652d0811c virtio-pci: don't try to mask or unmask vqs without notifiers
We should validate the vq index against nvqs_with_notifiers. Otherwise we may
try to mask or unmask vector for vqs without notifiers (e.g control vq). This
will lead qemu abort on kvm_irqchip_commit_routes() when trying to boot win8.1
guest.

Fixes 851c2a75a6e80c8aa5e713864d98cfb512e7229b ("virtio-pci: speedup MSI-X
masking and unmasking")

Reported-by: Alex Williamson <alex.williamson@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>
2015-06-03 18:19:15 +02:00
..
2015-06-01 14:18:55 +02:00
2015-06-01 14:18:54 +02:00
2015-04-27 18:24:18 +02:00
2015-06-01 14:18:55 +02:00
2015-06-01 14:18:55 +02:00
2015-06-01 14:18:55 +02:00
2015-05-29 11:28:59 +01:00
2015-06-03 18:19:15 +02:00
2015-06-01 14:18:55 +02:00
2015-04-30 16:06:18 +03:00
2015-04-30 16:06:17 +03:00
2015-04-30 16:05:48 +03:00
2015-06-01 14:18:55 +02:00
2015-05-31 20:29:02 +02:00
2015-05-31 16:26:41 +02:00
2015-06-01 14:18:55 +02:00
2015-06-01 14:18:54 +02:00
2015-05-11 13:54:00 +01:00