]> git.proxmox.com Git - mirror_qemu.git/commit
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)
commitb36e391441906c36ed0856b69de84001860402bf
tree207d77ca9280ded6204f41f01e8e992641ed536e
parent65d6dcbde84314c6d05a365a26a384f880a5c8fe
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