• K
    pc: Fix floppy drives with if=none · 34d4260e
    Kevin Wolf 提交于
    Commit 63ffb564 broke floppy devices specified on the command line like
    -drive file=...,if=none,id=floppy -global isa-fdc.driveA=floppy because it
    relies on drive_get() which works only with -fda/-drive if=floppy.
    
    This patch resembles what we're already doing for IDE, i.e. remember the floppy
    device that was created and use that to extract the BlockDriverStates where
    needed.
    Signed-off-by: NKevin Wolf <kwolf@redhat.com>
    Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
    34d4260e
fdc.h 827 字节