]> Git Repo - qemu.git/commit - hw/pc.c
pc: fix wrong CMOS values for floppy drives
authorBlue Swirl <[email protected]>
Sat, 12 Mar 2011 09:52:25 +0000 (09:52 +0000)
committerBlue Swirl <[email protected]>
Sat, 12 Mar 2011 09:52:25 +0000 (09:52 +0000)
commite14c8062f4c4c336c6e5fa5b51472ffff5f3fe38
treecec17c2022dda9b8607f3399f19e2335f810391f
parentc4374bb7533c2c8f999526148113012dc1f436ae
pc: fix wrong CMOS values for floppy drives

Before commit 63ffb564dca94f8bda01ed6d209784104630a4d2, states for
floppy drives were calculated in fdc.c:fd_revalidate(). There it is
also considered whether a disk is inserted or not. The commit didn't copy
the logic completely to pc.c, which caused a regression.

Fix by adding the same check also to pc.c.

Reported-by: Stefan Hajnoczi <[email protected]>
Tested-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
hw/pc.c
This page took 0.026418 seconds and 4 git commands to generate.