[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC 10/10] fdc: change default drive to 288
From: |
John Snow |
Subject: |
[Qemu-devel] [RFC 10/10] fdc: change default drive to 288 |
Date: |
Tue, 30 Jun 2015 21:20:40 -0400 |
The 2.88 drive is more suitable as a default because
it can still read 1.44 images correctly, but the reverse
is not true.
Since there exist virtio-win drivers that are shipped on
2.88 floppy images, this patch will allow VMs booted without
a floppy disk inserted to later insert a 2.88MB floppy and
have that work.
Signed-off-by: John Snow <address@hidden>
---
hw/block/fdc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/block/fdc.c b/hw/block/fdc.c
index 7d4206d..b176aab 100644
--- a/hw/block/fdc.c
+++ b/hw/block/fdc.c
@@ -72,7 +72,7 @@ typedef struct FDFormat {
FDriveRate rate;
} FDFormat;
-#define FDRIVE_DEFAULT FDRIVE_DRV_144
+#define FDRIVE_DEFAULT FDRIVE_DRV_288
static const FDFormat fd_formats[] = {
/* First entry is default format */
--
2.1.0
- [Qemu-devel] [RFC 00/10] fix 2.88mb floppy diskette support, John Snow, 2015/06/30
- [Qemu-devel] [RFC 03/10] fdc: respect default drive type, John Snow, 2015/06/30
- [Qemu-devel] [RFC 01/10] fdc: Make default FDrive type explicit, John Snow, 2015/06/30
- [Qemu-devel] [RFC 04/10] fdc: move pick_geometry, John Snow, 2015/06/30
- [Qemu-devel] [RFC 06/10] fdc: add physical disk sizes, John Snow, 2015/06/30
- [Qemu-devel] [RFC 05/10] fdc: refactor pick_geometry, John Snow, 2015/06/30
- [Qemu-devel] [RFC 07/10] fdc: add disk field, John Snow, 2015/06/30
- [Qemu-devel] [RFC 02/10] fdc: add default drive type option, John Snow, 2015/06/30
- [Qemu-devel] [RFC 09/10] qtest/fdc: Support for 2.88MB drives, John Snow, 2015/06/30
- [Qemu-devel] [RFC 10/10] fdc: change default drive to 288,
John Snow <=
- [Qemu-devel] [RFC 08/10] fdc: refactor pick_geometry, John Snow, 2015/06/30