summaryrefslogtreecommitdiffstats
path: root/monitor.h
diff options
context:
space:
mode:
authorPaolo Bonzini2012-09-28 17:22:57 +0200
committerKevin Wolf2012-09-28 19:40:56 +0200
commit3e1caa5f76a9104a0d574b0f28b3dafe986a8408 (patch)
treebed937dd724bd2c6d2eb2a2678606f52fe1407a3 /monitor.h
parentiostatus: change is_read to a bool (diff)
downloadqemu-3e1caa5f76a9104a0d574b0f28b3dafe986a8408.tar.gz
qemu-3e1caa5f76a9104a0d574b0f28b3dafe986a8408.tar.xz
qemu-3e1caa5f76a9104a0d574b0f28b3dafe986a8408.zip
iostatus: reorganize io error code
Move the common part of IDE/SCSI/virtio error handling to the block layer. The new function bdrv_error_action subsumes all three of bdrv_emit_qmp_error_event, vm_stop, bdrv_iostatus_set_err. The same scheme will be used for errors in block jobs. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'monitor.h')
0 files changed, 0 insertions, 0 deletions