|
From: | Kevin Wolf |
Subject: | Re: [Qemu-devel] [PATCH 32/32] Relax IDE CHS limits from 16383, 16, 63 to 65535, 16, 255 |
Date: | Thu, 05 Jul 2012 17:27:03 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 |
Am 29.06.2012 17:34, schrieb Markus Armbruster: > New limits straight from ATA4 6.2 Register delivered data transfer > command sector addressing. > > I figure the old sector limit 63 was blindly copied from the BIOS > int 13 limit. Doesn't apply to the hardware. No idea where the old > cylinder limit comes from. > > Signed-off-by: Markus Armbruster <address@hidden> Now I think we have the very same thing in IDE, SCSI and virtio-blk. Would it make sense to have a helper function in hd-geometry.c that takes and validates the geometry from a BlockConf, applies defaults and puts the result into device state fields passed by reference? Kevin
[Prev in Thread] | Current Thread | [Next in Thread] |