[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO
From: |
Christian Borntraeger |
Subject: |
Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO |
Date: |
Wed, 02 May 2012 20:49:25 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120412 Thunderbird/11.0.1 |
>>> Well, if guessing is a function
>>>
>>> guess_size(disk_size, block_size)
>>>
>>> then we would be able to do the same on an image file. Christian, would
>>> that work?
>>
>> I think that the geometry values can not always be guessed correctly based on
>> block_size and disk_size.
>>
>> Stefan, can you clarify that?
>>
>> If we cannot reliably guess the geometry based on blocksize and size, I
>> still think
>> that we should use the host values, e.g. after checking that BIODASDINFO2
>> returns
>> successfully.
>
> Yeah, but only if it's always possible to force a specific geometry through
> the command line - otherwise reproducability suffers.
That is already possible, with the exception of the sector part of the geometry
(see the other
patch :-) )
Christian
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Christian Borntraeger, 2012/05/02
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Alexander Graf, 2012/05/02
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Paolo Bonzini, 2012/05/02
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Alexander Graf, 2012/05/02
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Paolo Bonzini, 2012/05/02
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Alexander Graf, 2012/05/02
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Christian Borntraeger, 2012/05/02
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Alexander Graf, 2012/05/02
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO,
Christian Borntraeger <=
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Stefan Weinhuber, 2012/05/02
- Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Alexander Graf, 2012/05/02
Re: [Qemu-devel] [PATCH 2/3] geometry detection: use HDIO_GETGEO, Christian Borntraeger, 2012/05/02