From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZA6hu-0001Xq-AI for qemu-devel@nongnu.org; Tue, 30 Jun 2015 21:20:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZA6ht-0008AM-6q for qemu-devel@nongnu.org; Tue, 30 Jun 2015 21:20:58 -0400 From: John Snow Date: Tue, 30 Jun 2015 21:20:40 -0400 Message-Id: <1435713640-12362-11-git-send-email-jsnow@redhat.com> In-Reply-To: <1435713640-12362-1-git-send-email-jsnow@redhat.com> References: <1435713640-12362-1-git-send-email-jsnow@redhat.com> Subject: [Qemu-devel] [RFC 10/10] fdc: change default drive to 288 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: kwolf@redhat.com, John Snow , armbru@redhat.com, qemu-devel@nongnu.org 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 --- 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