All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/1] Fixup for DASD geometry detection
@ 2015-12-14 15:41 Christian Borntraeger
  2015-12-14 15:41 ` [Qemu-devel] [PATCH 1/1] block/raw-posix: avoid bogus fixup for cylinders on DASD disks Christian Borntraeger
  2016-01-12 14:25 ` [Qemu-devel] [PATCH 0/1] Fixup for DASD geometry detection Kevin Wolf
  0 siblings, 2 replies; 6+ messages in thread
From: Christian Borntraeger @ 2015-12-14 15:41 UTC (permalink / raw)
  To: Kevin Wolf
  Cc: qemu-block, Ekaterina Tumanova, qemu-devel,
	Christian Borntraeger, Jens Freimann, Cornelia Huck

Kevin,

here is a fixup for the geometry detection. We tried to be overly
clever and calculate the cyclinder size for devices > 64k cyls. Now
this is wrong for the cyls parameter as the interface only has
16bit. Large DASD devices have a special token (0xfffe) that 
indicate to the DASD related code, that you have to calculate
the cyls size yourself.

Without this patch QEMU cannot pass through bigger DASD disks
and complains "cyls must be between 1 and 65535"


Christian Borntraeger (1):
  block/raw-posix: avoid bogus fixup for cylinders on DASD disks

 block/raw-posix.c | 7 -------
 1 file changed, 7 deletions(-)

-- 
2.3.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-01-12 14:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-14 15:41 [Qemu-devel] [PATCH 0/1] Fixup for DASD geometry detection Christian Borntraeger
2015-12-14 15:41 ` [Qemu-devel] [PATCH 1/1] block/raw-posix: avoid bogus fixup for cylinders on DASD disks Christian Borntraeger
2015-12-14 17:42   ` Markus Armbruster
2015-12-14 17:49   ` Cornelia Huck
2016-01-07  9:23     ` Christian Borntraeger
2016-01-12 14:25 ` [Qemu-devel] [PATCH 0/1] Fixup for DASD geometry detection Kevin Wolf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.