linux/drivers/vhost
Michael S. Tsirkin d5675bd204 vhost: break out of polling loop on error
When ring parsing fails, we currently handle this
as ring empty condition. This means that we enable
kicks and recheck ring empty: if this not empty,
we re-start polling which of course will fail again.

Instead, let's return a negative error code and stop polling.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2010-06-27 11:52:25 +03:00
..
Kconfig net/macvtap: add vhost support 2010-02-18 14:08:38 -08:00
Makefile vhost_net: a kernel-level virtio server 2010-01-15 01:43:29 -08:00
net.c vhost: break out of polling loop on error 2010-06-27 11:52:25 +03:00
vhost.c vhost: break out of polling loop on error 2010-06-27 11:52:25 +03:00
vhost.h vhost: break out of polling loop on error 2010-06-27 11:52:25 +03:00