Received: from eggs.gnu.org ([2001:4830:134:3::10]:57575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WV6jd-0005IL-1a for qemu-devel@nongnu.org; Tue, 01 Apr 2014 18:00:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WV6jV-0005tV-IC for qemu-devel@nongnu.org; Tue, 01 Apr 2014 18:00:44 -0400 Received: from mail-qc0-f178.google.com ([209.85.216.178]:53574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WV6jV-0005tR-AQ for qemu-devel@nongnu.org; Tue, 01 Apr 2014 18:00:37 -0400 Received: by mail-qc0-f178.google.com with SMTP id i8so11327016qcq.37 for ; Tue, 01 Apr 2014 15:00:36 -0700 (PDT) Date: Tue, 1 Apr 2014 18:00:35 -0400 From: Kevin O'Connor Message-ID: <20140401220035.GB28000@morn.localdomain> References: <20140326195849.GD1543@ERROL.INI.CMU.EDU> <20140326223610.GA28587@morn.localdomain> <20140331201807.GG9466@ERROL.INI.CMU.EDU> <533A7B60.7080408@redhat.com> <20140401143902.GA6462@morn.localdomain> <533ADF7D.6010804@redhat.com> <20140401184726.GH9466@ERROL.INI.CMU.EDU> <20140401202832.GA24065@morn.localdomain> <20140401212808.GI9466@ERROL.INI.CMU.EDU> <533B332C.7090701@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <533B332C.7090701@redhat.com> Subject: Re: [Qemu-devel] E820 (Re: [v4 PATCH 00/12] SMBIOS: build full tables in QEMU) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laszlo Ersek Cc: "Gabriel L. Somlo" , seabios@seabios.org, qemu-devel@nongnu.org On Tue, Apr 01, 2014 at 11:44:12PM +0200, Laszlo Ersek wrote: > Right now, OVMF can accept individual fields, or table-at-a-time blobs, > via fw_cfg. > > The internal interface (EFI_SMBIOS_PROTOCOL) expects one table at a time > (for which table-at-a-time blobs are a perfect match). I wasn't aware of this. The SMBIOS spec calls for all the sub-tables to be concatenanted into a single linear area of memory. Is there something in EFI or OVMF that is dictating otherwise? Can you provide a link so I can further understand? (I briefly checked through the UEFI v2.3.1 spec and nothing popped out at me.) > I think that concatenating table-at-a-time blobs in SeaBIOS is easier > than parsing & splitting a complete dump into tables in OVMF. I don't think it's very difficult either way. It would be nice, though, if there was just one owner for the smbios. The current setup where some data comes from QEMU and some from the firmware, along with mechanisms for providing defaults and overrides is way too complex in my opinion. Thanks, -Kevin