From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [edk2] Passing Xen memory map and resource map to OVMF Date: Wed, 13 Nov 2013 08:03:39 +0100 Message-ID: <1384326219.3560.9.camel__47943.1977532387$1384326345$gmane$org@nilsson.home.kraxel.org> References: <20131112183321.GN13369@zion.uk.xensource.com> <52827C0B.5040901@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <52827C0B.5040901@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Laszlo Ersek Cc: "Jordan Justen (Intel address)" , Igor Mammedov , edk2-devel@lists.sourceforge.net, Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Hi, > > The first thing that comes in mind is to reuse E820 table for memory map > > plus some extra fields for io / mmio resources. But I guess UEFI is the > > new world so stuffs like E820 from old world will be less popular. Any > > suggestion on existing table / data structure I can use? What io/mmio ressources do you need to pass on? > As far as I can see, qemu exports an fw_cfg table called "etc/e820". See > qemu commit > > commit 7d67110f2d9a6a2d6b5215a948abc95d07258735 > Author: Gerd Hoffmann > Date: Fri Oct 18 11:31:54 2013 +0200 > > pc: add etc/e820 fw_cfg file New in qemu 1.7 Was added exactly to deal with the 1TB limitation and also to allow for non-contiguous memory (not implemented yet in qemu, but if numa support is extended some day to support that we are fine interface-wise). > Does this work when qemu is used in combination with Xen? It should, might need windup in the xen machine type though (not fully sure how much code is shared between normal and xen machine types). cheers, Gerd