Re: [Qemu-devel] Disk geometry and migration

2012-07-11 Thread Paolo Bonzini
Il 11/07/2012 09:16, Markus Armbruster ha scritto: >>> C. Do not derive default geometry from DOS partition table >>> >>>Can do only for new machine type, because it may break guests. It will indeed break boot of old images (e.g. FreeDOS). Hence: C1. Do not derive default geometry from DOS p

Re: [Qemu-devel] Disk geometry and migration

2012-07-11 Thread Markus Armbruster
Blue Swirl writes: > On Tue, Jul 10, 2012 at 6:34 PM, Markus Armbruster wrote: >> Scenario: >> >> 1. Start a guest with a blank disk (need not be the only disk) and >>default disk geometry. >> >> 2. Examine the disk's physical geometry >> >>Details depend on the device model. scsi-hd ex

Re: [Qemu-devel] Disk geometry and migration

2012-07-10 Thread Blue Swirl
On Tue, Jul 10, 2012 at 6:34 PM, Markus Armbruster wrote: > Scenario: > > 1. Start a guest with a blank disk (need not be the only disk) and >default disk geometry. > > 2. Examine the disk's physical geometry > >Details depend on the device model. scsi-hd exposes it in mode pages >4 a

[Qemu-devel] Disk geometry and migration

2012-07-10 Thread Markus Armbruster
Scenario: 1. Start a guest with a blank disk (need not be the only disk) and default disk geometry. 2. Examine the disk's physical geometry Details depend on the device model. scsi-hd exposes it in mode pages 4 and 5. ide-hd in command IDENTIFY, and in its translation from CHS to L