Received: from eggs.gnu.org ([208.118.235.92]:54269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQIo1-0004Sk-IJ for qemu-devel@nongnu.org; Fri, 04 May 2012 09:44:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQInz-00023W-HG for qemu-devel@nongnu.org; Fri, 04 May 2012 09:44:21 -0400 Received: from e06smtp18.uk.ibm.com ([195.75.94.114]:37662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQInz-0001wK-8V for qemu-devel@nongnu.org; Fri, 04 May 2012 09:44:19 -0400 Received: from /spool/local by e06smtp18.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 4 May 2012 14:44:14 +0100 Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1307.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q44Di2D62678914 for ; Fri, 4 May 2012 14:44:02 +0100 Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q44Di1UD003957 for ; Fri, 4 May 2012 07:44:02 -0600 From: Christian Borntraeger Date: Fri, 4 May 2012 15:43:59 +0200 Message-Id: <1336139040-16628-1-git-send-email-borntraeger@de.ibm.com> Subject: [Qemu-devel] [PATCH 0/1] RFC: ipl device for s390 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Cornelia Huck , Christian Borntraeger , Jens Freimann , Heinz Graalfs , qemu-devel Alex, while Einar is reworking the block size/geometry patches, here is the current state of the external loader. While the real firmware loader only supports fcp, this patch also allows to ipl dasd disks (the differences in terms of on-disk format are pretty small). This has the advantage of being able to zipl on LPAR and ipl in KVM and vice versa for DASD disks. This patch also contains code to IPL a new dasd bootmap (which is then architectured) that will be created by a future zipl version. This zipl version will then also allow to zipl a dasd/scsi disk under KVM and create the same bootmap as under LPAR. I was able to IPL CDL,LDL and FCP disks. Can you have a look and give some review feedback? PS: booting from dasd requires the correct geometry and blocksize Christian Borntraeger (1): s390: IPL device for s390 Makefile.target | 2 +- hw/s390-loader.c | 463 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ hw/s390-loader.h | 81 ++++++++++ hw/s390-virtio.c | 36 +---- vl.c | 7 + 5 files changed, 554 insertions(+), 35 deletions(-) create mode 100644 hw/s390-loader.c create mode 100644 hw/s390-loader.h -- 1.7.9.6