From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f95C9-0002Ke-Ld for qemu-devel@nongnu.org; Thu, 19 Apr 2018 04:45:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f95C4-0004Hd-Q5 for qemu-devel@nongnu.org; Thu, 19 Apr 2018 04:45:33 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:40156 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f95C4-0004H6-LE for qemu-devel@nongnu.org; Thu, 19 Apr 2018 04:45:28 -0400 References: <20180417224054.26363-1-lersek@redhat.com> <20180418060243.iafg4wj5gwsruop5@sirius.home.kraxel.org> From: Thomas Huth Message-ID: Date: Thu, 19 Apr 2018 10:45:05 +0200 MIME-Version: 1.0 In-Reply-To: <20180418060243.iafg4wj5gwsruop5@sirius.home.kraxel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [qemu RFC v2] qapi: add "firmware.json" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann , Laszlo Ersek Cc: qemu-devel@nongnu.org, libvir-list@redhat.com, "Daniel P. Berrange" , Alexander Graf , Ard Biesheuvel , David Gibson , Eric Blake , Gary Ching-Pang Lin , Kashyap Chamarthy , Markus Armbruster , Michael Roth , Michal Privoznik , Paolo Bonzini , Peter Krempa , Peter Maydell On 18.04.2018 08:02, Gerd Hoffmann wrote: > On Wed, Apr 18, 2018 at 12:40:54AM +0200, Laszlo Ersek wrote: >> Add a schema that describes the different uses and properties of virtual >> machine firmware. > > Looks good to me overall. > >> +{ 'enum' : 'FirmwareType', >> + 'data' : [ 'bios', 'slof', 'uboot', 'uefi' ] } > > openbios missing. As mentioned somewhere else in this thread, I think it's best to just use "openfirmware" here instead of "slof" and "openbios" >> +{ 'enum' : 'FirmwareArchitecture', >> + 'data' : [ 'aarch64', 'arm', 'i386', 'x86_64' ] } > > ppc(64) missing (but you have slof above ;) ... Since you distinguish between 32-bit and 64-bit, we need both "ppc" (32-bit) and "ppc64" (64-bit) here. > s390 too. Please name that "s390x". "s390" without x means the old 31-bit architecture which is hardly used anymore today. "s390x" is the modern 64-bit architecture. Thomas