From 75f124753922451ee697defd81a80a91ce3f9888 Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Fri, 4 Dec 2009 12:06:32 +0100 Subject: Revert "Rename DriveInfo.onerror to on_write_error" (fix mismerge) Part of the first patch of the -drive rerror series has been merged once more on top of the rest of the series. This effectively disables the rerror option and always goes with the default value. Reverting the commit re-enables the option. This reverts commit fc072ec4df0996682dfbff6c735e2bbc0d93132f. Signed-off-by: Kevin Wolf Signed-off-by: Anthony Liguori --- vl.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/vl.c b/vl.c index 4973512..20c616e 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; -- cgit v1.1