diff --git a/vl.c b/vl.c index 49735129f24aa0183d72b78646ecafe450393c78..20c616e9066c0bb70760c56ac4f59064411cb82c 100644 --- a/vl.c +++ b/vl.c @@ -2044,10 +2044,6 @@ BlockInterfaceErrorAction drive_get_on_error( { DriveInfo *dinfo; - if (is_read) { - return BLOCK_ERR_REPORT; - } - QTAILQ_FOREACH(dinfo, &drives, next) { if (dinfo->bdrv == bdrv) return is_read ? dinfo->on_read_error : dinfo->on_write_error;