tmp_suning_uos_patched/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
Makefile
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