linux-stable/drivers/virtio
Rusty Russell 70670444c2 virtio: fail adding buffer on broken queues.
Heinz points out that adding buffers to a broken virtqueue (which
should "never happen") still works.  Failing allows drivers to detect
and complain about broken devices.

Now drivers are robust, we can add this extra check.

Reported-by: Heinz Graalfs <graalfs@linux.vnet.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2014-03-13 11:27:57 +10:30
..
config.c
Kconfig drivers/virtio: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:39:04 -08:00
Makefile virtio: remove CONFIG_VIRTIO_RING 2012-09-28 15:05:15 +09:30
virtio.c virtio: convert bus code to use dev_groups 2013-10-16 18:40:57 -07:00
virtio_balloon.c virtio_balloon: don't crash if virtqueue is broken. 2014-03-13 11:27:56 +10:30
virtio_mmio.c virtio: mmio: fix signature checking for BE guests 2013-11-07 12:13:04 +10:30
virtio_pci.c virtio: Use pci_enable_msix_exact() instead of pci_enable_msix() 2014-03-13 11:27:54 +10:30
virtio_ring.c virtio: fail adding buffer on broken queues. 2014-03-13 11:27:57 +10:30