Message ID | 1453750885-16066-7-git-send-email-jsnow@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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; }