fdc: Add fallback option
commita73275dd6fc3bfda33165bebc28e0c33c20cb0a0
authorJohn Snow <jsnow@redhat.com>
Fri, 22 Jan 2016 20:51:00 +0000 (22 15:51 -0500)
committerJohn Snow <jsnow@redhat.com>
Mon, 25 Jan 2016 19:35:23 +0000 (25 14:35 -0500)
treeb6d6be59b5ac31e96766fab4aaf4faaa597e33a7
parentd5d47efc856c139ec0cd1887e2d018ff9a93c32d
fdc: Add fallback option

Currently, QEMU chooses a drive type automatically based on the inserted
media. If there is no disk inserted, it chooses a 1.44MB drive type.

Change this behavior to be configurable, but leave it defaulted to 1.44.

This is not earnestly intended to be used by a user or a management
library, but rather exists so that pre-2.6 board types can configure it
to be a legacy value.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1453495865-9649-8-git-send-email-jsnow@redhat.com
hw/block/fdc.c
hw/core/qdev-properties.c
include/hw/qdev-properties.h