Il 01/08/2012 11:30, Kevin Wolf ha scritto:
> Maybe bool is_read?
I was mimicking existing code, but since we're touching this part it's
worth cleaning it up. I'll add a patch before this one to convert the
existing occurrences of int is_read, and then use bool here too.
Paolo
Am 24.07.2012 13:03, schrieb Paolo Bonzini:
> 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 job
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
---
block.c