Revision abd7f68d hw/scsi-disk.c
b/hw/scsi-disk.c | ||
---|---|---|
182 | 182 |
static int scsi_handle_write_error(SCSIDiskReq *r, int error) |
183 | 183 |
{ |
184 | 184 |
SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); |
185 |
BlockInterfaceErrorAction action = drive_get_on_error(s->bs, 0);
|
|
185 |
BlockErrorAction action = bdrv_get_on_error(s->bs, 0);
|
|
186 | 186 |
|
187 | 187 |
if (action == BLOCK_ERR_IGNORE) { |
188 | 188 |
bdrv_mon_event(s->bs, BDRV_ACTION_IGNORE, 0); |
Also available in: Unified diff