]> 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:14:16 +0000 (12:14 +0100)
commit995bf0ca57e52f4991d7f90c7eb2bbf7bc3f3c44
treecc534fe208c24d1d87bd024f0c6f0361ac25faa9
parent990caaf19c73d6e82c78bfd144a403c35525085a
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>
hw/fdc.c