diff options
author | Markus Armbruster <armbru@redhat.com> | 2012-07-10 11:12:27 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-07-17 16:48:29 +0200 |
commit | 61a8d649ff1e125966b51d688ff43dc6ef6ca63b (patch) | |
tree | d9ec8477cde6fa07b501b2d0b19190a4b4915c1a /qemu-error.h | |
parent | 19db9b9042657ef80ddd4c94b1748dc2368aab70 (diff) |
fdc: Move floppy geometry guessing back from block.c
Commit 5bbdbb46 moved it to block.c because "other geometry guessing
functions already reside in block.c". Device-specific functionality
should be kept in device code, not the block layer. Move it back.
Disk geometry guessing is still in block.c. To be moved out in a
later patch series.
Bonus: the floppy type used in pc_cmos_init() now obviously matches
the one in the FDrive. Before, we relied on
bdrv_get_floppy_geometry_hint() picking the same type both in
fd_revalidate() and in pc_cmos_init().
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-error.h')
0 files changed, 0 insertions, 0 deletions