From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDEoS-0000iq-UK for qemu-devel@nongnu.org; Wed, 25 Nov 2009 05:09:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDEoN-0000eY-JO for qemu-devel@nongnu.org; Wed, 25 Nov 2009 05:09:27 -0500 Received: from [199.232.76.173] (port=43270 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDEoN-0000eM-Bi for qemu-devel@nongnu.org; Wed, 25 Nov 2009 05:09:23 -0500 Received: from mtagate7.de.ibm.com ([195.212.17.167]:50007) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NDEoM-0000HI-9D for qemu-devel@nongnu.org; Wed, 25 Nov 2009 05:09:22 -0500 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate7.de.ibm.com (8.13.1/8.13.1) with ESMTP id nAPA9IXp031592 for ; Wed, 25 Nov 2009 10:09:18 GMT Received: from d12av03.megacenter.de.ibm.com (d12av03.megacenter.de.ibm.com [9.149.165.213]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id nAPA9I0l1007828 for ; Wed, 25 Nov 2009 11:09:18 +0100 Received: from d12av03.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av03.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id nAPA9IHw030948 for ; Wed, 25 Nov 2009 11:09:18 +0100 Message-ID: <4B0D0276.4070207@de.ibm.com> Date: Wed, 25 Nov 2009 11:09:58 +0100 From: Carsten Otte MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 12/13] Add zipl bootloader interpreter References: <1259083781-14642-1-git-send-email-agraf@suse.de> <4B0C3375.4010206@codemonkey.ws> <200911242039.55345.maw48@cantab.net> <4B0C4BC0.7070006@codemonkey.ws> <20091125083537.GA25731@ochil.suse.de> In-Reply-To: <20091125083537.GA25731@ochil.suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hannes Reinecke Cc: Carsten Otte , Alexander Graf , qemu-devel@nongnu.org, Mark Williamson , Aurelien Jarno Hannes Reinecke wrote: > So back to the zipl question, it might be an idea to support initially > the SCSI disk layout only. This has the advantage of being far simpler > as the DASD disk layout and should be pretty straightforward to handle. Issue is, the dasd disk layout is made for dasds. For eckd, the boot code assumes variable blocksize, and the loader uses channel programs. For both eckd and fba volumes, it assumes IBM disklabels and FICON channel programs. Virt-IO disks do have an msdos-style partition table as opposed to this. That said, you'd need proper virtualiztion of a ficon dasd so that the guest could possibly run the dasd boot code. Virt-IO disks otoh are fixed block, have an msdos-style partition table, no channel programs, and thus look just like scsi disks with a different interface. Therefore, I think scsi boot is right for virt-IO disks. And zipl does already create this layout in the version found in Sles11 and FC12.