qemu-e2k/block
Cole Robinson 2ebf7c4b82 raw-posix: Detect legacy floppy via ioctl on linux
Current legacy floppy detection is hardcoded based on source file
name. Make this smarter on linux by attempting a floppy specific
ioctl.

v2:
    Give ioctl check higher priority than filename check
    s/IDE/legacy/

v3:
    Actually initialize 'prio' variable
    Check for ioctl success rather than absence of specific failure

v4:
    Explicitly mention that change is linux specific.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2010-01-19 16:31:03 -06:00
..
bochs.c block/bochs: improve format checking 2009-12-25 19:27:18 +00:00
cloop.c Move block drivers into their own directory 2009-05-14 16:13:46 -05:00
cow.c block: use fdatasync instead of fsync if possible 2009-09-11 10:19:46 -05:00
curl.c Add qemu_aio_process_queue() 2009-10-27 12:28:59 -05:00
dmg.c dmg: fix ->open failure 2010-01-11 13:41:00 -06:00
nbd.c Move block drivers into their own directory 2009-05-14 16:13:46 -05:00
parallels.c Fix 32-bit overflow in parallels image support 2009-11-12 11:23:56 -06:00
qcow.c qcow/qcow2: implement bdrv_aio_flush 2010-01-13 17:14:15 -06:00
qcow2-cluster.c qcow2: Allow qcow2 disk images with size zero 2009-11-09 08:43:01 -06:00
qcow2-refcount.c qcow2-refcount: remove dead assignment 2010-01-13 17:14:15 -06:00
qcow2-snapshot.c qcow2: Fix some more qemu_malloc fallout 2009-12-03 11:45:50 -06:00
qcow2.c qcow/qcow2: implement bdrv_aio_flush 2010-01-13 17:14:15 -06:00
qcow2.h Revert "qcow2: Bring synchronous read/write back to life" 2009-10-27 12:28:59 -05:00
raw-posix-aio.h Remove aio_ctx from paio_* interface 2009-10-30 08:39:34 -05:00
raw-posix.c raw-posix: Detect legacy floppy via ioctl on linux 2010-01-19 16:31:03 -06:00
raw-win32.c block: add bdrv_probe_device method 2009-06-15 14:04:22 +02:00
vdi.c block/vdi: allow disk sizes not multiple of block size 2010-01-08 09:58:40 -06:00
vmdk.c vmdk: Fix backing file handling 2009-07-22 10:58:47 -05:00
vpc.c Fix spelling in comment. 2009-09-09 14:57:20 -05:00
vvfat.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00