]> git.proxmox.com Git - mirror_qemu.git/commit
fdc: add physical disk sizes
authorJohn Snow <jsnow@redhat.com>
Fri, 22 Jan 2016 20:51:02 +0000 (15:51 -0500)
committerJohn Snow <jsnow@redhat.com>
Mon, 25 Jan 2016 19:35:23 +0000 (14:35 -0500)
commit109c17bc208c09a72d9c6c237f3f7b84c6ac91a4
treeca7c75250a280efb87c2969efaafd52070d6b676
parentfff4687b9ea7da910bb503d5d3d276868f0a1d0f
fdc: add physical disk sizes

2.88MB capable drives can accept 1.44MB floppies,
for instance. To rework the pick_geometry function,
we need to know if our current drive can even accept
the type of disks we're considering.

NB: This allows us to distinguish between all of the
"total sectors" collisions between 1.20MB and 1.44MB
diskette types, by using the physical drive size as a
differentiator.

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