Revision abd7f68d hw/ide/core.c
b/hw/ide/core.c | ||
---|---|---|
481 | 481 |
static int ide_handle_rw_error(IDEState *s, int error, int op) |
482 | 482 |
{ |
483 | 483 |
int is_read = (op & BM_STATUS_RETRY_READ); |
484 |
BlockInterfaceErrorAction action = drive_get_on_error(s->bs, is_read);
|
|
484 |
BlockErrorAction action = bdrv_get_on_error(s->bs, is_read);
|
|
485 | 485 |
|
486 | 486 |
if (action == BLOCK_ERR_IGNORE) { |
487 | 487 |
bdrv_mon_event(s->bs, BDRV_ACTION_IGNORE, is_read); |
Also available in: Unified diff