qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-block] [RFC 10/10] fdc: change default drive to 288


From: John Snow
Subject: [Qemu-block] [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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]