]> git.proxmox.com Git - mirror_qemu.git/commit
pc-bios/s390-ccw: handle more ECKD DASD block sizes
authorEugene (jno) Dvurechenski <jno@linux.vnet.ibm.com>
Fri, 29 Aug 2014 09:01:37 +0000 (11:01 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 1 Sep 2014 07:23:02 +0000 (09:23 +0200)
commit00a47e7e71a2fbceb4ec565593738b0b3f06a42b
treeee6a8499915bd2b967e78cbe3f448f54c9671ab7
parent92cb05574b7bd489be81f9c58497dc7dfe5d8859
pc-bios/s390-ccw: handle more ECKD DASD block sizes

Using dasdfmt(8) to format a DASD allows to choose a block size.
There are four supported values: 512, 1024, 2048, and 4096 bytes
per block. Each block size leads to selection of new count of
sectors per track. The head count remains always the same: 15.

This empiric knowledge is used to detect ECKD DASD to IPL from.

Signed-off-by: Eugene (jno) Dvurechenski <jno@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
pc-bios/s390-ccw/virtio.c