qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-block] [PATCH 0/1] Fixup for DASD geometry detection


From: Christian Borntraeger
Subject: [Qemu-block] [PATCH 0/1] Fixup for DASD geometry detection
Date: Mon, 14 Dec 2015 16:41:18 +0100

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]