diff options
-rw-r--r-- | hw/block/fdc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/block/fdc.c b/hw/block/fdc.c index 18e363b..a8f0cf2 100644 --- a/hw/block/fdc.c +++ b/hw/block/fdc.c @@ -274,7 +274,9 @@ static void pick_geometry(FDrive *drv) } if (match == -1) { if (first_match == -1) { - match = 1; + error_setg(&error_abort, "No candidate geometries present in table " + " for floppy drive type '%s'", + FloppyDriveType_lookup[drv->drive]); } else { match = first_match; } |