ioeventfd: error handling cleanup
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 11 Jan 2011 12:10:15 +0000 (14:10 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 11 Jan 2011 15:47:48 +0000 (17:47 +0200)
commit4923e399138540a6305e80979648678eab1f0f12
tree207d77ca9280ded6204f41f01e8e992641ed536e
parent48afbaa79ad7e6eb27adc72cabdb89fd6943880f
ioeventfd: error handling cleanup

- Don't return status from start/stop functions where it's ignored
- report errors to make debugging easier
- assert on unexpected failures
- don't disable notifiers on error so that we'll
  retry when guest driver restarts

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
hw/virtio-pci.c