From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoffer Dall Subject: Re: [RFC] ARM VM System Sepcification Date: Sun, 2 Mar 2014 17:13:00 -0800 Message-ID: <20140303011300.GB12962@lvm> References: <20140226183454.GA14639@cbox> <20140301152756.67A02C40238@trevor.secretlab.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: cross-distro@lists.linaro.org, "linux-arm-kernel@lists.infradead.org" , "kvmarm@lists.cs.columbia.edu" , "kvm@vger.kernel.org" , xen-devel@lists.xen.org, Michael Casadevall , Rob Herring , Peter Maydell , "marc.zyngier@arm.com" , Leif Lindholm , Robie Basak , Stefano Stabellini , Ian Campbell To: Grant Likely Return-path: Received: from mail-pa0-f43.google.com ([209.85.220.43]:47643 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750963AbaCCBNL (ORCPT ); Sun, 2 Mar 2014 20:13:11 -0500 Received: by mail-pa0-f43.google.com with SMTP id bj1so3028875pad.30 for ; Sun, 02 Mar 2014 17:13:11 -0800 (PST) Content-Disposition: inline In-Reply-To: <20140301152756.67A02C40238@trevor.secretlab.ca> Sender: kvm-owner@vger.kernel.org List-ID: On Sat, Mar 01, 2014 at 03:27:56PM +0000, Grant Likely wrote: > Hi Christoffer. I've got another comment on the text, this time about the format of the ESP: > > On Wed, 26 Feb 2014 10:34:54 -0800, Christoffer Dall wrote: > [...] > > Image format > > ------------ > > The image format, as presented to the VM, needs to be well-defined in > > order for prepared disk images to be bootable across various > > virtualization implementations. > > > > The raw disk format as presented to the VM must be partitioned with a > > GUID Partition Table (GPT). The bootable software must be placed in the > > EFI System Partition (ESP), using the UEFI removable media path, and > > must be an EFI application complying to the UEFI Specification 2.4 > > Revision A [6]. > > > > The ESP partition's GPT entry's partition type GUID must be > > C12A7328-F81F-11D2-BA4B-00A0C93EC93B and the file system must be > > formatted as FAT32/vfat as per Section 12.3.1.1 in [6]. > > > > The removable media path is \EFI\BOOT\BOOTARM.EFI for the aarch32 > > execution state and is \EFI\BOOT\BOOTAA64.EFI for the aarch64 execution > > state. > > I would also reference section 3.3 (Boot Option Variables Default Boot > Behavior) and 3.4.1.1 (Removable Media Boot Behavior) here. It's fine to > restate the meaning of the requirement in this spec, but the UEFI spec > is the authoritative source. Distributed VM disk images fall under the > same scenario as the firmware not having any valid boot variables. > ack, thanks. -Christoffer