aboutsummaryrefslogtreecommitdiffstats
path: root/lib/decompress.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2010-06-24 09:59:59 -0400
committerMichael S. Tsirkin <mst@redhat.com>2010-06-27 04:52:25 -0400
commitd5675bd204efd87a174eeea592de23c4c4e7f908 (patch)
tree11ec7e455d21285da68fa7db40af07ebf45f9d0e /lib/decompress.c
parent38000a94a902e94ca8b5498f7871c6316de8957a (diff)
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>
Diffstat (limited to 'lib/decompress.c')
0 files changed, 0 insertions, 0 deletions