]> git.ipfire.org Git - thirdparty/qemu.git/commit
fdc: fix drive property handling.
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 10 Mar 2010 16:30:29 +0000 (17:30 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 13 Mar 2010 11:16:06 +0000 (12:16 +0100)
commit30d061750d965f37e77ee5678e5b9b2e57bacb73
tree3c6155177c3cddb478d583182181c5884561b922
parentc5f5dc5bad4cec580f10b31fcafd1dd5bd93c88f
fdc: fix drive property handling.

Fix the floppy controller init wrappers to set the drive properties
only in case the DriveInfo pointers passed in are non NULL.  This allows
to set the properties using -global.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
(cherry picked from commit 995bf0ca57e52f4991d7f90c7eb2bbf7bc3f3c44)
hw/fdc.c