Einar Lueck writes:
> On 01/14/2013 02:23 PM, Markus Armbruster wrote:
>> Einar Lueck writes:
>>
>>> This patch extends the function hd_geometry_guess. If no geo could
>>> be guessed via guess_disk_lchs, a new function called guess_disk_pchs is
>>> called. The latter utilizes HDIO_GET_GEO ioctl
On 01/14/2013 02:23 PM, Markus Armbruster wrote:
Einar Lueck writes:
This patch extends the function hd_geometry_guess. If no geo could
be guessed via guess_disk_lchs, a new function called guess_disk_pchs is
called. The latter utilizes HDIO_GET_GEO ioctl to ask the underlying disk
for geometr
Einar Lueck writes:
> This patch extends the function hd_geometry_guess. If no geo could
> be guessed via guess_disk_lchs, a new function called guess_disk_pchs is
> called. The latter utilizes HDIO_GET_GEO ioctl to ask the underlying disk
> for geometry.
> If this is not successful (e.g. image f
Hi,
here is a reworked version.
V1 -> V2:
* removed useless code movements
* corrected terminology into logical and physical CHS and structured/layered
functions accordingly
Einar Lueck (1):
hd-geometry.c: Integrate HDIO_GETGEO in guessing
hw/hd-geometry.c | 45 +
This patch extends the function hd_geometry_guess. If no geo could
be guessed via guess_disk_lchs, a new function called guess_disk_pchs is
called. The latter utilizes HDIO_GET_GEO ioctl to ask the underlying disk
for geometry.
If this is not successful (e.g. image files) geometry is derived
from t