]> git.karo-electronics.de Git - karo-tx-linux.git/commit
virtio: Dont add "config" to list for !per_vq_vector
authorKrishna Kumar <krkumar2@in.ibm.com>
Wed, 5 Oct 2011 05:38:59 +0000 (11:08 +0530)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 1 Nov 2011 23:04:28 +0000 (10:04 +1100)
commit99030d7eb3c7e06447b79fa61d53c7701646ab32
tree0cda5a6f6d6cd160a493fe37e4b0ab1910916682
parente66f2a72ea6595e51c088411f54bc77fbbb1f885
virtio: Dont add "config" to list for !per_vq_vector

For the MSI but non-per_vq_vector case, the config/change vq
also gets added to the list of vqs that need to process the
MSI interrupt. This is not needed as config has it's own
handler (vp_config_changed). In any case, vring_interrupt()
finds nothing needs to be done on this vq.

I tested this patch by testing the "Fallback:" and "Finally
fall back" cases in vp_find_vqs(). Please review.

Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio_pci.c