Re: [Qemu-devel] [PATCH 1/3] hd-geometry.c: Integrate HDIO_GETGEO in guessing

2012-11-19 Thread Christian Borntraeger
On 19/11/12 16:08, Markus Armbruster wrote: > You're undoing my work separation of guessing L-CHS from the DOS > partition table and choosing a translation. Why? Might be my fault during rebasing. Will check with Einar.

Re: [Qemu-devel] [PATCH 1/3] hd-geometry.c: Integrate HDIO_GETGEO in guessing

2012-11-19 Thread Markus Armbruster
Christian Borntraeger writes: > From: Einar Lueck > > This patch extends the function guess_disk_lchs. If no geo could > be derived from reading disk content, HDIO_GETGEO ioctl is issued. > If this is not successful (e.g. image files) geometry is derived > from the size of the disk (as before).

[Qemu-devel] [PATCH 1/3] hd-geometry.c: Integrate HDIO_GETGEO in guessing

2012-11-13 Thread Christian Borntraeger
From: Einar Lueck This patch extends the function guess_disk_lchs. If no geo could be derived from reading disk content, HDIO_GETGEO ioctl is issued. If this is not successful (e.g. image files) geometry is derived from the size of the disk (as before). To achieve this, the MSDOS partition table