diff options
| author | Paolo Bonzini | 2011-11-04 17:21:53 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2011-11-04 17:32:23 +0100 |
| commit | 273e4e03b3413fd489601cd9d8ba407ccb3b4130 (patch) | |
| tree | f987acb9281840785c5ca3e18d2b32078bd6baa2 /roms | |
| parent | vvfat: do not hardcode sector counts in error message (diff) | |
| download | qemu-273e4e03b3413fd489601cd9d8ba407ccb3b4130.tar.gz qemu-273e4e03b3413fd489601cd9d8ba407ccb3b4130.tar.xz qemu-273e4e03b3413fd489601cd9d8ba407ccb3b4130.zip | |
vvfat: reorganize computation of disk geometry
First determine FAT12/16/32, then compute geometry from that for both
FDD and HDD. For 1.44MB floppies, and 2.88MB floppies using FAT16,
change to 1 sector/cluster. The default remains 2.88MB with FAT12
and 2 sectors/cluster. Both DOS and mkdosfs by default format a 2.88MB
floppy as FAT12.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'roms')
0 files changed, 0 insertions, 0 deletions
