Revision 92aa5c6d hw/fdc.c
b/hw/fdc.c | ||
---|---|---|
1994 | 1994 |
drive->fdctrl = fdctrl; |
1995 | 1995 |
|
1996 | 1996 |
if (drive->bs) { |
1997 |
if (bdrv_get_on_error(drive->bs, 0) != BLOCK_ERR_STOP_ENOSPC) {
|
|
1997 |
if (bdrv_get_on_error(drive->bs, 0) != BLOCKDEV_ON_ERROR_ENOSPC) {
|
|
1998 | 1998 |
error_report("fdc doesn't support drive option werror"); |
1999 | 1999 |
return -1; |
2000 | 2000 |
} |
2001 |
if (bdrv_get_on_error(drive->bs, 1) != BLOCK_ERR_REPORT) {
|
|
2001 |
if (bdrv_get_on_error(drive->bs, 1) != BLOCKDEV_ON_ERROR_REPORT) {
|
|
2002 | 2002 |
error_report("fdc doesn't support drive option rerror"); |
2003 | 2003 |
return -1; |
2004 | 2004 |
} |
Also available in: Unified diff